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

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

Issue 11316163: Remove the last usages of PrefObserver outside of Prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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 | Annotate | Revision Log
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 #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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/preferences_unittest.cc ('k') | chrome/browser/download/download_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698