Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: extensions/common/extension.cc

Issue 184043024: Limit scope of settings API configuration and proxy permission (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Bernhard's comment Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index df6ea04a6151aeafa4b786a0edf4f5238ac3792a..aeda4fa251307e33e17a600a30210868bcb1b0d7 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -450,10 +450,6 @@ bool Extension::can_be_incognito_enabled() const {
return !is_platform_app() || location() == Manifest::COMPONENT;
}
-bool Extension::force_incognito_enabled() const {
- return PermissionsData::HasAPIPermission(this, APIPermission::kProxy);
-}
-
void Extension::AddWebExtentPattern(const URLPattern& pattern) {
// Bookmark apps are permissionless.
if (from_bookmark())
« extensions/browser/extension_pref_value_map.cc ('K') | « extensions/common/extension.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698