tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

CookieStoreChild.h (804B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef mozilla_dom_CookieStoreChild_h
      8 #define mozilla_dom_CookieStoreChild_h
      9 
     10 #include "mozilla/dom/PCookieStoreChild.h"
     11 #include "nsISupportsImpl.h"
     12 
     13 namespace mozilla::dom {
     14 
     15 class CookieStoreChild final : public PCookieStoreChild {
     16  friend class PCookieStoreChild;
     17 
     18 public:
     19  NS_INLINE_DECL_REFCOUNTING(CookieStoreChild)
     20 
     21  CookieStoreChild();
     22 
     23  void Close();
     24 
     25 private:
     26  ~CookieStoreChild();
     27 };
     28 
     29 }  // namespace mozilla::dom
     30 
     31 #endif  // mozilla_dom_CookieStoreChild_h