Backed out 7 changesets (bug 1942424) for causing frequent crashes. a=backout
[gecko.git] / toolkit / components / antitracking / bouncetrackingprotection / nsIBTPRemoteExceptionList.idl
blobdadb3060cb01c884c22e3b4eac0a24eccf78ebef
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
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsISupports.idl"
6 #include "nsIBounceTrackingProtection.idl"
8 /**
9 * Helper for syncing remote settings exception list to
10 * BounceTrackingProtection.
12 [scriptable, uuid(06F13674-FB28-4DFC-BF25-342C83705B2F)]
13 interface nsIBTPRemoteExceptionList : nsISupports {
14 /**
15 * Initialize the service and import exceptions.
16 * Resolves once the initial set of exceptions has been imported.
18 Promise init(in nsIBounceTrackingProtection aProtection);
20 /**
21 * Shutdown the service.
23 void shutdown();
26 %{C++
27 #define NS_NSIBTPEXCEPTIONLISTSERVICE_CONTRACTID "@mozilla.org/btp-remote-exception-list;1"