Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1591)

Unified Diff: chrome/browser/chromeos/cros_settings_provider_proxy.h

Issue 4580001: A bunch of proxy DOMUI changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/chromeos
Patch Set: address kuan's comments Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chromeos/cros_settings_provider_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros_settings_provider_proxy.h
diff --git a/chrome/browser/chromeos/cros_settings_provider_proxy.h b/chrome/browser/chromeos/cros_settings_provider_proxy.h
index afb24ad9e255d5200cb5393462f63a6918204623..1b1672bc98b06049816a214af5387f896908c5e2 100644
--- a/chrome/browser/chromeos/cros_settings_provider_proxy.h
+++ b/chrome/browser/chromeos/cros_settings_provider_proxy.h
@@ -26,12 +26,9 @@ class CrosSettingsProviderProxy : public CrosSettingsProvider {
chromeos::ProxyConfigServiceImpl* GetConfigService() const;
- void AppendPortIfValid(
- const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy,
- std::string* server_uri);
+ void AppendPortIfValid(const char* port_cache_key, std::string* server_uri);
- bool FormServerUriIfValid(
- const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy,
+ void FormServerUriIfValid(const char* host_cache_key,
const std::string& port_num, std::string* server_uri);
Value* CreateServerHostValue(
@@ -40,6 +37,11 @@ class CrosSettingsProviderProxy : 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(CrosSettingsProviderProxy);
};
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chromeos/cros_settings_provider_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698