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

Unified Diff: chrome/browser/extensions/extension_util.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: chrome/browser/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 3104575732214f49a58525b070756eb50f46821a..0643b5392facb58e40c10f30326a1a319fc6eb86 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -32,8 +32,6 @@ bool IsIncognitoEnabled(const std::string& extension_id,
// work in incognito mode.
if (extension->location() == Manifest::COMPONENT)
return true;
- if (extension->force_incognito_enabled())
- return true;
}
return ExtensionPrefs::Get(context)->IsIncognitoEnabled(extension_id);

Powered by Google App Engine
This is Rietveld 408576698