From 9b2000c3a89ba6c115e27d440a6286c775f66926 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Mon, 6 Aug 2018 17:53:25 -0400 Subject: [PATCH] Expose chrome.braveShields to brave-extension only Fix https://github.com/brave/brave-browser/issues/602 --- common/extensions/api/_api_features.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/extensions/api/_api_features.json b/common/extensions/api/_api_features.json index e0a32e52f294..124160009744 100644 --- a/common/extensions/api/_api_features.json +++ b/common/extensions/api/_api_features.json @@ -1,12 +1,16 @@ // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +// Command to get whitelist ID: echo -n mnojpmjdmbbfmejpflffifhffcmidifd | openssl sha1 { "braveShields": { "channel": "stable", "dependencies": [], - "contexts": ["blessed_extension"] + "contexts": ["blessed_extension"], + "whitelist": [ + "A321D47A2B4CA86898167A55CA8B2E02385EA7CD" + ] }, "topSites": [{ "dependencies": ["permission:topSites"],