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

Side by Side Diff: chrome/browser/chromeos/cros/network_library_impl_base.h

Issue 14192017: Extract certificate policy application from NetworkLibrary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 8 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 | 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_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 virtual void ForgetNetwork(const std::string& service_path) OVERRIDE; 227 virtual void ForgetNetwork(const std::string& service_path) OVERRIDE;
228 virtual void EnableEthernetNetworkDevice(bool enable) OVERRIDE; 228 virtual void EnableEthernetNetworkDevice(bool enable) OVERRIDE;
229 virtual void EnableWifiNetworkDevice(bool enable) OVERRIDE; 229 virtual void EnableWifiNetworkDevice(bool enable) OVERRIDE;
230 virtual void EnableMobileNetworkDevice(bool enable) OVERRIDE; 230 virtual void EnableMobileNetworkDevice(bool enable) OVERRIDE;
231 virtual void EnableWimaxNetworkDevice(bool enable) OVERRIDE; 231 virtual void EnableWimaxNetworkDevice(bool enable) OVERRIDE;
232 virtual void EnableCellularNetworkDevice(bool enable) OVERRIDE; 232 virtual void EnableCellularNetworkDevice(bool enable) OVERRIDE;
233 // virtual EnableOfflineMode implemented in derived classes. 233 // virtual EnableOfflineMode implemented in derived classes.
234 // virtual GetIPConfigs implemented in derived classes. 234 // virtual GetIPConfigs implemented in derived classes.
235 // virtual SetIPConfig implemented in derived classes. 235 // virtual SetIPConfig implemented in derived classes.
236 virtual void SwitchToPreferredNetwork() OVERRIDE; 236 virtual void SwitchToPreferredNetwork() OVERRIDE;
237 virtual bool LoadOncNetworks( 237 virtual void LoadOncNetworks(const base::ListValue& network_configs,
238 const std::string& onc_blob, 238 onc::ONCSource source) OVERRIDE;
239 const std::string& passphrase,
240 onc::ONCSource source,
241 net::CertificateList* onc_trusted_certificates) OVERRIDE;
242 virtual bool SetActiveNetwork(ConnectionType type, 239 virtual bool SetActiveNetwork(ConnectionType type,
243 const std::string& service_path) OVERRIDE; 240 const std::string& service_path) OVERRIDE;
244 241
245 protected: 242 protected:
246 typedef ObserverList<NetworkObserver> NetworkObserverList; 243 typedef ObserverList<NetworkObserver> NetworkObserverList;
247 typedef std::map<std::string, NetworkObserverList*> NetworkObserverMap; 244 typedef std::map<std::string, NetworkObserverList*> NetworkObserverMap;
248 245
249 typedef ObserverList<NetworkDeviceObserver> NetworkDeviceObserverList; 246 typedef ObserverList<NetworkDeviceObserver> NetworkDeviceObserverList;
250 typedef std::map<std::string, NetworkDeviceObserverList*> 247 typedef std::map<std::string, NetworkDeviceObserverList*>
251 NetworkDeviceObserverMap; 248 NetworkDeviceObserverMap;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 // stray networks that shill still has on file, but are not known on the 486 // stray networks that shill still has on file, but are not known on the
490 // Chrome side. 487 // Chrome side.
491 NetworkSourceMap network_source_map_; 488 NetworkSourceMap network_source_map_;
492 489
493 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase); 490 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase);
494 }; 491 };
495 492
496 } // namespace chromeos 493 } // namespace chromeos
497 494
498 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ 495 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.h ('k') | chrome/browser/chromeos/cros/network_library_impl_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698