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

Unified Diff: chrome/browser/chromeos/proxy_cros_settings_parser.cc

Issue 11272026: Remove the managed banner from the Chrome settings UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/chromeos/proxy_cros_settings_parser.cc
diff --git a/chrome/browser/chromeos/proxy_cros_settings_parser.cc b/chrome/browser/chromeos/proxy_cros_settings_parser.cc
index 158db4e31260579671ba9369112d801765bb4de9..fa4d6feb8d037eb059cbc643840a72f40addc8fd 100644
--- a/chrome/browser/chromeos/proxy_cros_settings_parser.cc
+++ b/chrome/browser/chromeos/proxy_cros_settings_parser.cc
@@ -325,17 +325,17 @@ bool GetProxyPrefValue(Profile* profile,
}
switch (config.state) {
case ProxyPrefs::CONFIG_POLICY:
Joao da Silva 2012/10/25 11:07:52 The indentation of the case: labels should be +2 f
bartfab (slow) 2012/10/25 13:13:13 Done.
- controlled_by = "policyManagedPrefsBannerText";
+ controlled_by = "policy";
break;
case ProxyPrefs::CONFIG_EXTENSION:
- controlled_by = "extensionManagedPrefsBannerText";
+ controlled_by = "extension";
break;
case ProxyPrefs::CONFIG_OTHER_PRECEDE:
- controlled_by = "unmodifiablePrefsBannerText";
+ controlled_by = "other";
break;
default:
if (!config.user_modifiable)
- controlled_by = "enableSharedProxiesBannerText";
+ controlled_by = "shared";
break;
}
} else if (path == kProxySingle) {

Powered by Google App Engine
This is Rietveld 408576698