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/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/prefs/pref_change_registrar.h" | 12 #include "base/prefs/pref_change_registrar.h" |
13 #include "chrome/browser/net/pref_proxy_config_tracker_impl.h" | |
14 #include "chromeos/network/network_state_handler_observer.h" | 13 #include "chromeos/network/network_state_handler_observer.h" |
15 #include "components/onc/onc_constants.h" | 14 #include "components/onc/onc_constants.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) |
25 // - exists one per profile and one per local state | 25 // - exists one per profile and one per local state |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 PrefService* local_state_prefs_; | 95 PrefService* local_state_prefs_; |
96 | 96 |
97 base::WeakPtrFactory<ProxyConfigServiceImpl> pointer_factory_; | 97 base::WeakPtrFactory<ProxyConfigServiceImpl> pointer_factory_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceImpl); | 99 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceImpl); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace chromeos | 102 } // namespace chromeos |
103 | 103 |
104 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ | 104 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ |
OLD | NEW |