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

Unified Diff: chrome/browser/extensions/extension_browsertest.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_browsertest.cc
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
index 4cfe0ed0440cbd1d5676e140fd973092c9a02bd6..ca5053ca75fa125c8c68c6210ad5d22a1da94ed7 100644
--- a/chrome/browser/extensions/extension_browsertest.cc
+++ b/chrome/browser/extensions/extension_browsertest.cc
@@ -185,8 +185,7 @@ const Extension* ExtensionBrowserTest::LoadExtensionWithFlags(
content::WindowedNotificationObserver load_signal(
chrome::NOTIFICATION_EXTENSION_LOADED,
content::Source<Profile>(profile()));
- CHECK(!extensions::util::IsIncognitoEnabled(extension_id, profile()) ||
- extension->force_incognito_enabled());
+ CHECK(!extensions::util::IsIncognitoEnabled(extension_id, profile()));
if (flags & kFlagEnableIncognito) {
extensions::util::SetIsIncognitoEnabled(extension_id, profile(), true);

Powered by Google App Engine
This is Rietveld 408576698