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. |