Chromium Code Reviews| Index: chrome/browser/chromeos/net/proxy_config_handler.cc |
| diff --git a/chrome/browser/chromeos/net/proxy_config_handler.cc b/chrome/browser/chromeos/net/proxy_config_handler.cc |
| index 013fb4479a14b6308e870fe543608f740a64a67c..adb4c86358a605198671c702e664ea145ac1ddce 100644 |
| --- a/chrome/browser/chromeos/net/proxy_config_handler.cc |
| +++ b/chrome/browser/chromeos/net/proxy_config_handler.cc |
| @@ -9,11 +9,13 @@ |
| #include "base/logging.h" |
| #include "base/values.h" |
| #include "chrome/browser/prefs/proxy_config_dictionary.h" |
| +#include "chrome/common/pref_names.h" |
| #include "chromeos/dbus/dbus_thread_manager.h" |
| #include "chromeos/dbus/shill_service_client.h" |
| #include "chromeos/network/network_handler_callbacks.h" |
| #include "chromeos/network/network_state.h" |
| #include "chromeos/network/network_state_handler.h" |
| +#include "components/user_prefs/pref_registry_syncable.h" |
| #include "dbus/object_path.h" |
| #include "third_party/cros_system_api/dbus/service_constants.h" |
| @@ -64,6 +66,14 @@ void SetProxyConfigForNetwork(const ProxyConfigDictionary& proxy_config, |
| } |
| } |
| +void RegisterProfilePrefs( |
| + user_prefs::PrefRegistrySyncable* registry) { |
| + registry->RegisterBooleanPref( |
|
battre
2013/07/11 13:31:23
Can you please improve the comment at the definiti
pneubeck (no reviews)
2013/07/12 09:42:30
3) doesn't apply as it's defined only for ChromeOS
|
| + prefs::kUseSharedProxies, |
| + false, |
| + user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
| +} |
| + |
| } // namespace proxy_config |
| } // namespace chromeos |