| Index: chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| index 27bf94995f1776ee741f9d607f7d8d61fa35158f..e9464098315f8c0d4259b3d4a2f15a4e018f5796 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/chromeos/login/user_manager.h"
|
| +#include "chrome/browser/chromeos/profiles/profile_helper.h"
|
| #include "chrome/browser/chromeos/proxy_cros_settings_parser.h"
|
| #include "chrome/browser/chromeos/settings/cros_settings.h"
|
| #include "chrome/browser/policy/browser_policy_connector.h"
|
| @@ -108,13 +109,15 @@ void CoreChromeOSOptionsHandler::InitializeHandler() {
|
|
|
| CoreOptionsHandler::InitializeHandler();
|
|
|
| - PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs();
|
| + Profile* profile = Profile::FromWebUI(web_ui());
|
| + PrefService* prefs = profile->GetPrefs();
|
| proxy_prefs_.Init(prefs);
|
| proxy_prefs_.Add(prefs::kProxy,
|
| base::Bind(&CoreChromeOSOptionsHandler::OnPreferenceChanged,
|
| base::Unretained(this),
|
| prefs));
|
| - proxy_config_service_.SetPrefs(prefs);
|
| + proxy_config_service_.SetPrefs(ProfileHelper::IsSigninProfile(profile),
|
| + prefs);
|
| }
|
|
|
| base::Value* CoreChromeOSOptionsHandler::FetchPref(
|
|
|