| Index: chrome/browser/chromeos/proxy_config_service_impl.h
|
| diff --git a/chrome/browser/chromeos/proxy_config_service_impl.h b/chrome/browser/chromeos/proxy_config_service_impl.h
|
| index dc2561888c2aff6f2f0185e004877124162afee0..b059080415bb9c678950d5f6151e666ecfc3b011 100644
|
| --- a/chrome/browser/chromeos/proxy_config_service_impl.h
|
| +++ b/chrome/browser/chromeos/proxy_config_service_impl.h
|
| @@ -182,6 +182,15 @@ class ProxyConfigServiceImpl
|
| // Only valid for MODE_SINGLE_PROXY or MODE_PROXY_PER_SCHEME.
|
| bool UISetProxyConfigBypassRules(const net::ProxyBypassRules& bypass_rules);
|
|
|
| + // Add/Remove callback functions for notification when network to be viewed is
|
| + // changed by the UI.
|
| + void AddNotificationCallback(base::Closure callback);
|
| + void RemoveNotificationCallback(base::Closure callback);
|
| +
|
| + // PrefProxyConfigTrackerImpl implementation.
|
| + virtual void OnProxyConfigChanged(ProxyPrefs::ConfigState config_state,
|
| + const net::ProxyConfig& config) OVERRIDE;
|
| +
|
| // Implementation for SignedSettings::Delegate
|
| virtual void OnSettingsOpCompleted(SignedSettings::ReturnCode code,
|
| std::string value) OVERRIDE;
|
| @@ -193,10 +202,6 @@ class ProxyConfigServiceImpl
|
| virtual void OnNetworkChanged(NetworkLibrary* cros,
|
| const Network* network) OVERRIDE;
|
|
|
| - // PrefProxyConfigTrackerImpl implementation.
|
| - virtual void OnProxyConfigChanged(ProxyPrefs::ConfigState config_state,
|
| - const net::ProxyConfig& config) OVERRIDE;
|
| -
|
| // Register UseShardProxies preference.
|
| static void RegisterPrefs(PrefService* pref_service);
|
|
|
| @@ -293,6 +298,10 @@ class ProxyConfigServiceImpl
|
| // Operation to retrieve proxy setting from device.
|
| scoped_refptr<SignedSettings> retrieve_property_op_;
|
|
|
| + // Callbacks for notification when network to be viewed has been changed from
|
| + // the UI.
|
| + std::vector<base::Closure> callbacks_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceImpl);
|
| };
|
|
|
|
|