OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROXY_CONFIG_SERVICE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/prefs/pref_change_registrar.h" | |
13 #include "chromeos/network/network_state_handler_observer.h" | 12 #include "chromeos/network/network_state_handler_observer.h" |
14 #include "components/onc/onc_constants.h" | 13 #include "components/onc/onc_constants.h" |
| 14 #include "components/prefs/pref_change_registrar.h" |
15 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 15 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 class NetworkState; | 19 class NetworkState; |
20 | 20 |
21 // Implementation of proxy config service for chromeos that: | 21 // Implementation of proxy config service for chromeos that: |
22 // - extends PrefProxyConfigTrackerImpl (and so lives and runs entirely on UI | 22 // - extends PrefProxyConfigTrackerImpl (and so lives and runs entirely on UI |
23 // thread) to handle proxy from prefs (via PrefProxyConfigTrackerImpl) and | 23 // thread) to handle proxy from prefs (via PrefProxyConfigTrackerImpl) and |
24 // system i.e. network (via shill notifications) | 24 // system i.e. network (via shill notifications) |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 PrefService* local_state_prefs_; | 96 PrefService* local_state_prefs_; |
97 | 97 |
98 base::WeakPtrFactory<ProxyConfigServiceImpl> pointer_factory_; | 98 base::WeakPtrFactory<ProxyConfigServiceImpl> pointer_factory_; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceImpl); | 100 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceImpl); |
101 }; | 101 }; |
102 | 102 |
103 } // namespace chromeos | 103 } // namespace chromeos |
104 | 104 |
105 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ | 105 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ |
OLD | NEW |