OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "components/onc/onc_constants.h" | 10 #include "components/onc/onc_constants.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 // system request context. | 29 // system request context. |
30 std::unique_ptr<ProxyConfigDictionary> GetProxyConfigForNetwork( | 30 std::unique_ptr<ProxyConfigDictionary> GetProxyConfigForNetwork( |
31 const PrefService* profile_prefs, | 31 const PrefService* profile_prefs, |
32 const PrefService* local_state_prefs, | 32 const PrefService* local_state_prefs, |
33 const NetworkState& network, | 33 const NetworkState& network, |
34 ::onc::ONCSource* onc_source); | 34 ::onc::ONCSource* onc_source); |
35 | 35 |
36 void SetProxyConfigForNetwork(const ProxyConfigDictionary& proxy_config, | 36 void SetProxyConfigForNetwork(const ProxyConfigDictionary& proxy_config, |
37 const NetworkState& network); | 37 const NetworkState& network); |
38 | 38 |
39 void RegisterPrefs(PrefRegistrySimple* registry); | |
40 | |
41 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | |
42 | |
43 } // namespace proxy_config | 39 } // namespace proxy_config |
44 | 40 |
45 } // namespace chromeos | 41 } // namespace chromeos |
46 | 42 |
47 #endif // CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_ | 43 #endif // CHROME_BROWSER_CHROMEOS_NET_PROXY_CONFIG_HANDLER_H_ |
OLD | NEW |