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

Unified Diff: chrome/browser/extensions/extension_proxy_api.cc

Issue 5915004: Introduce incognito preference settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespaces + fixes for trybot Created 10 years 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_proxy_api.cc
diff --git a/chrome/browser/extensions/extension_proxy_api.cc b/chrome/browser/extensions/extension_proxy_api.cc
index 9bc33cbf5681cc01b57efc1299fe72db7803f1b1..86621d9ed63ff93b31e589fa7c48453d53a18264 100644
--- a/chrome/browser/extensions/extension_proxy_api.cc
+++ b/chrome/browser/extensions/extension_proxy_api.cc
@@ -159,6 +159,8 @@ bool UseCustomProxySettingsFunction::ApplyProxyRules(
void UseCustomProxySettingsFunction::SendNotification(const char* pref_path,
Value* pref_value) {
+ const bool incognito = false;
profile()->GetExtensionService()->extension_prefs()
- ->SetExtensionControlledPref(extension_id(), pref_path, pref_value);
+ ->SetExtensionControlledPref(extension_id(), pref_path, incognito,
+ pref_value);
}

Powered by Google App Engine
This is Rietveld 408576698