| 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 b50afacf46841d3aeaff1ea2ed28717bc2b07120..22ab8382e39f5465bb9310d99c20d8c771a04a4d 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
|
| @@ -16,6 +16,7 @@
|
| #include "chrome/browser/chromeos/proxy_config_service_impl.h"
|
| #include "chrome/browser/chromeos/proxy_cros_settings_parser.h"
|
| #include "chrome/browser/chromeos/settings/cros_settings.h"
|
| +#include "chrome/browser/chromeos/ui_proxy_config_service.h"
|
| #include "chrome/browser/policy/browser_policy_connector.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h"
|
| @@ -94,7 +95,7 @@ CoreChromeOSOptionsHandler::CoreChromeOSOptionsHandler()
|
| CoreChromeOSOptionsHandler::~CoreChromeOSOptionsHandler() {
|
| PrefProxyConfigTracker* proxy_tracker =
|
| Profile::FromWebUI(web_ui())->GetProxyConfigTracker();
|
| - proxy_tracker->RemoveNotificationCallback(
|
| + proxy_tracker->GetUIService().RemoveNotificationCallback(
|
| base::Bind(&CoreChromeOSOptionsHandler::NotifyProxyPrefsChanged,
|
| pointer_factory_.GetWeakPtr()));
|
| }
|
| @@ -111,7 +112,7 @@ void CoreChromeOSOptionsHandler::InitializeHandler() {
|
| // Observe the chromeos::ProxyConfigServiceImpl for changes from the UI.
|
| PrefProxyConfigTracker* proxy_tracker =
|
| Profile::FromWebUI(web_ui())->GetProxyConfigTracker();
|
| - proxy_tracker->AddNotificationCallback(
|
| + proxy_tracker->GetUIService().AddNotificationCallback(
|
| base::Bind(&CoreChromeOSOptionsHandler::NotifyProxyPrefsChanged,
|
| pointer_factory_.GetWeakPtr()));
|
| }
|
|
|