Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: chrome/browser/chromeos/proxy_config_service_impl.h

Issue 1296663003: Componentize proxy code from chrome/browser/net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updating for win p/f Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/proxy_config_service_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/proxy_config_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698