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 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/prefs/public/pref_observer.h" | |
13 #include "base/values.h" | 12 #include "base/values.h" |
14 #include "chrome/browser/api/prefs/pref_member.h" | 13 #include "chrome/browser/api/prefs/pref_member.h" |
15 #include "chrome/browser/chromeos/cros/network_library.h" | 14 #include "chrome/browser/chromeos/cros/network_library.h" |
16 #include "chrome/browser/net/pref_proxy_config_tracker_impl.h" | 15 #include "chrome/browser/net/pref_proxy_config_tracker_impl.h" |
17 | 16 |
18 namespace chromeos { | 17 namespace chromeos { |
19 | 18 |
20 // Implementation of proxy config service for chromeos that: | 19 // Implementation of proxy config service for chromeos that: |
21 // - extends PrefProxyConfigTrackerImpl (and so lives and runs entirely on UI | 20 // - extends PrefProxyConfigTrackerImpl (and so lives and runs entirely on UI |
22 // thread) to handle proxy from prefs (via PrefProxyConfigTrackerImpl) and | 21 // thread) to handle proxy from prefs (via PrefProxyConfigTrackerImpl) and |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 std::vector<base::Closure> callbacks_; | 294 std::vector<base::Closure> callbacks_; |
296 | 295 |
297 base::WeakPtrFactory<ProxyConfigServiceImpl> pointer_factory_; | 296 base::WeakPtrFactory<ProxyConfigServiceImpl> pointer_factory_; |
298 | 297 |
299 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceImpl); | 298 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceImpl); |
300 }; | 299 }; |
301 | 300 |
302 } // namespace chromeos | 301 } // namespace chromeos |
303 | 302 |
304 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ | 303 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CONFIG_SERVICE_IMPL_H_ |
OLD | NEW |