Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
index 514b732fe09e4c3f29c0a86aedebe79bb7d960c4..5212e5129a40947d36f790341791a967c0c09347 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -74,6 +74,7 @@ |
#include "components/policy/core/common/policy_namespace.h" |
#include "components/policy/core/common/policy_service.h" |
#include "components/proximity_auth/switches.h" |
+#include "components/proxy_config/proxy_config_pref_names.h" |
#include "components/search_engines/template_url.h" |
#include "components/search_engines/template_url_service.h" |
#include "components/signin/core/browser/signin_manager.h" |
@@ -983,7 +984,7 @@ void BrowserOptionsHandler::InitializeHandler() { |
weak_ptr_factory_.GetWeakPtr())); |
#else // !defined(OS_CHROMEOS) |
profile_pref_registrar_.Add( |
- prefs::kProxy, |
+ proxy_config::prefs::kProxy, |
base::Bind(&BrowserOptionsHandler::SetupProxySettingsSection, |
base::Unretained(this))); |
#endif // !defined(OS_CHROMEOS) |
@@ -2046,7 +2047,7 @@ void BrowserOptionsHandler::SetupProxySettingsSection() { |
#endif |
PrefService* pref_service = Profile::FromWebUI(web_ui())->GetPrefs(); |
const PrefService::Preference* proxy_config = |
- pref_service->FindPreference(prefs::kProxy); |
+ pref_service->FindPreference(proxy_config::prefs::kProxy); |
bool is_extension_controlled = (proxy_config && |
proxy_config->IsExtensionControlled()); |