Index: chrome/browser/chromeos/proxy_cros_settings_provider.h |
diff --git a/chrome/browser/chromeos/proxy_cros_settings_provider.h b/chrome/browser/chromeos/proxy_cros_settings_provider.h |
index 12e5d80cedd9e45ccd3d815dedd3059f53d68120..6c42dbd762942039eb870b8f345a3c0acdfe453d 100644 |
--- a/chrome/browser/chromeos/proxy_cros_settings_provider.h |
+++ b/chrome/browser/chromeos/proxy_cros_settings_provider.h |
@@ -26,10 +26,15 @@ class ProxyCrosSettingsProvider : public CrosSettingsProvider { |
chromeos::ProxyConfigServiceImpl* GetConfigService() const; |
- void AppendPortIfValid(const char* port_cache_key, std::string* server_uri); |
+ net::ProxyServer CreateProxyServerFromHost( |
+ const std::string& host, |
+ const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy, |
+ net::ProxyServer::Scheme scheme) const; |
- void FormServerUriIfValid(const char* host_cache_key, |
- const std::string& port_num, std::string* server_uri); |
+ net::ProxyServer CreateProxyServerFromPort( |
+ uint16 port, |
+ const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy, |
+ net::ProxyServer::Scheme scheme) const; |
Value* CreateServerHostValue( |
const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy) const; |
@@ -37,11 +42,6 @@ class ProxyCrosSettingsProvider : public CrosSettingsProvider { |
Value* CreateServerPortValue( |
const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy) const; |
- void SetCache(const std::string& key, const Value* value); |
- |
- // A cache to keep whatever user typed. |
- DictionaryValue cache_; |
- |
DISALLOW_COPY_AND_ASSIGN(ProxyCrosSettingsProvider); |
}; |