Backed out changeset 46540ac0fc04 (bug 1945637) for causing multiple failures CLOSED...
[gecko.git] / xpcom / system / nsIBlocklistService.idl
blob37fb864111cc98922892d4e333d2f5aaa8b53b1e
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsISupports.idl"
9 [scriptable, uuid(a6dcc76e-9f62-4cc1-a470-b483a1a6f096)]
10 interface nsIBlocklistService : nsISupports
12 // Indicates that the item does not appear in the blocklist.
13 const unsigned long STATE_NOT_BLOCKED = 0;
14 // Indicates that the item is in the blocklist but the problem is not severe
15 // enough to warant forcibly blocking.
16 const unsigned long STATE_SOFTBLOCKED = 1;
17 // Indicates that the item should be blocked and never used.
18 const unsigned long STATE_BLOCKED = 2;
20 // Unused; Please increment if we add more blocklist states.
21 const unsigned long STATE_MAX = 3;
23 readonly attribute boolean isLoaded;