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

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

Issue 4715001: Merge 65401 - A bunch of proxy DOMUI changes.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552c/src/
Patch Set: 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
===================================================================
--- chrome/browser/chromeos/cros_settings_provider_proxy.h (revision 65413)
+++ chrome/browser/chromeos/cros_settings_provider_proxy.h (working copy)
@@ -26,12 +26,9 @@
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 @@
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