tor-browser

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

PBackgroundSessionStorageManager.ipdl (1014B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 include protocol PBackground;
      6 include protocol PBackgroundSessionStorageCache;
      7 include PBackgroundSharedTypes;
      8 
      9 include "mozilla/dom/quota/SerializationHelpers.h";
     10 
     11 using mozilla::OriginAttributesPattern
     12   from "mozilla/OriginAttributes.h";
     13 
     14 namespace mozilla {
     15 namespace dom {
     16 
     17 [ChildImpl=virtual, ParentImpl=virtual]
     18 sync protocol PBackgroundSessionStorageManager
     19 {
     20  manager PBackground;
     21  manages PBackgroundSessionStorageCache;
     22 
     23  parent:
     24   async PBackgroundSessionStorageCache(PrincipalInfo aPrincipalInfo, nsCString aOriginKey);
     25 
     26   async ClearStorages(OriginAttributesPattern aPattern, nsCString aOriginScope, uint32_t aMode);
     27 
     28   async DeleteMe();
     29 
     30  child:
     31   async __delete__();
     32 
     33   async ClearStoragesForOrigin(nsCString aOriginAttrs, nsCString aOriginKey);
     34 };
     35 
     36 } // namespace dom
     37 } // namespace mozilla