| Index: chrome/browser/chromeos/proxy_cros_settings_provider.h
|
| ===================================================================
|
| --- chrome/browser/chromeos/proxy_cros_settings_provider.h (revision 108608)
|
| +++ chrome/browser/chromeos/proxy_cros_settings_provider.h (working copy)
|
| @@ -11,11 +11,13 @@
|
| #include "chrome/browser/chromeos/cros_settings_provider.h"
|
| #include "chrome/browser/chromeos/proxy_config_service_impl.h"
|
|
|
| +class Profile;
|
| +
|
| namespace chromeos {
|
|
|
| class ProxyCrosSettingsProvider : public CrosSettingsProvider {
|
| public:
|
| - ProxyCrosSettingsProvider();
|
| + explicit ProxyCrosSettingsProvider(Profile* profile);
|
| // CrosSettingsProvider implementation.
|
| virtual bool Get(const std::string& path, Value** out_value) const OVERRIDE;
|
| virtual bool HandlesSetting(const std::string& path) const OVERRIDE;
|
| @@ -28,13 +30,6 @@
|
| // displayed and possibly edited on.
|
| void MakeActiveNetworkCurrent();
|
|
|
| - // Returns name of current network that has been set via SetCurrentNetwork or
|
| - // MakeActiveNetworkCurrent.
|
| - const std::string& GetCurrentNetworkName() const;
|
| -
|
| - // Returns true if user has selected to use shared proxies.
|
| - bool IsUsingSharedProxies() const;
|
| -
|
| private:
|
| // CrosSettingsProvider implementation.
|
| virtual void DoSet(const std::string& path, Value* value) OVERRIDE;
|
| @@ -57,6 +52,8 @@
|
| Value* CreateServerPortValue(
|
| const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy) const;
|
|
|
| + Profile* profile_; // Weak ptr.
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ProxyCrosSettingsProvider);
|
| };
|
|
|
|
|