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

Unified Diff: chrome/browser/net/pref_proxy_config_tracker_impl.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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
Index: chrome/browser/net/pref_proxy_config_tracker_impl.h
diff --git a/chrome/browser/net/pref_proxy_config_tracker_impl.h b/chrome/browser/net/pref_proxy_config_tracker_impl.h
index 9157f55c3a9e0de825a6e7c845df751dcffe6015..d37c01c732e2c469ee98c4032af15438129a0bab 100644
--- a/chrome/browser/net/pref_proxy_config_tracker_impl.h
+++ b/chrome/browser/net/pref_proxy_config_tracker_impl.h
@@ -15,6 +15,8 @@
#include "net/proxy/proxy_config_service.h"
class PrefService;
+class PrefServiceSimple;
+class PrefServiceSyncable;
// A net::ProxyConfigService implementation that applies preference proxy
// settings (pushed from PrefProxyConfigTrackerImpl) as overrides to the proxy
@@ -116,8 +118,10 @@ class PrefProxyConfigTrackerImpl {
static bool PrefConfigToNetConfig(const ProxyConfigDictionary& proxy_dict,
net::ProxyConfig* config);
- // Registers the proxy preference.
- static void RegisterPrefs(PrefService* user_prefs);
+ // Registers the proxy preferences. These are actually registered
+ // the same way in local state and in user prefs.
+ static void RegisterPrefs(PrefServiceSimple* local_state);
+ static void RegisterUserPrefs(PrefServiceSyncable* user_prefs);
protected:
// Get the proxy configuration currently defined by preferences.

Powered by Google App Engine
This is Rietveld 408576698