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

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

Issue 11469026: Extending ONC validator's logging. Completing toplevel validation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@add_error_handling_to_validator
Patch Set: Initial patch. 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
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 EnableMobileNetworkDevice(bool enable) OVERRIDE; 227 virtual void EnableMobileNetworkDevice(bool enable) OVERRIDE;
228 virtual void EnableWimaxNetworkDevice(bool enable) OVERRIDE; 228 virtual void EnableWimaxNetworkDevice(bool enable) OVERRIDE;
229 virtual void EnableCellularNetworkDevice(bool enable) OVERRIDE; 229 virtual void EnableCellularNetworkDevice(bool enable) OVERRIDE;
230 // virtual EnableOfflineMode implemented in derived classes. 230 // virtual EnableOfflineMode implemented in derived classes.
231 // virtual GetIPConfigs implemented in derived classes. 231 // virtual GetIPConfigs implemented in derived classes.
232 // virtual SetIPConfig implemented in derived classes. 232 // virtual SetIPConfig implemented in derived classes.
233 virtual void SwitchToPreferredNetwork() OVERRIDE; 233 virtual void SwitchToPreferredNetwork() OVERRIDE;
234 virtual bool LoadOncNetworks(const std::string& onc_blob, 234 virtual bool LoadOncNetworks(const std::string& onc_blob,
235 const std::string& passphrase, 235 const std::string& passphrase,
236 NetworkUIData::ONCSource source, 236 NetworkUIData::ONCSource source,
237 bool allow_web_trust_from_policy, 237 bool allow_web_trust_from_policy) OVERRIDE;
238 std::string* error) OVERRIDE;
239 virtual bool SetActiveNetwork(ConnectionType type, 238 virtual bool SetActiveNetwork(ConnectionType type,
240 const std::string& service_path) OVERRIDE; 239 const std::string& service_path) OVERRIDE;
241 240
242 protected: 241 protected:
243 typedef ObserverList<NetworkObserver> NetworkObserverList; 242 typedef ObserverList<NetworkObserver> NetworkObserverList;
244 typedef std::map<std::string, NetworkObserverList*> NetworkObserverMap; 243 typedef std::map<std::string, NetworkObserverList*> NetworkObserverMap;
245 244
246 typedef ObserverList<NetworkDeviceObserver> NetworkDeviceObserverList; 245 typedef ObserverList<NetworkDeviceObserver> NetworkDeviceObserverList;
247 typedef std::map<std::string, NetworkDeviceObserverList*> 246 typedef std::map<std::string, NetworkDeviceObserverList*>
248 NetworkDeviceObserverMap; 247 NetworkDeviceObserverMap;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // stray networks that shill still has on file, but are not known on the 485 // stray networks that shill still has on file, but are not known on the
487 // Chrome side. 486 // Chrome side.
488 NetworkSourceMap network_source_map_; 487 NetworkSourceMap network_source_map_;
489 488
490 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase); 489 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase);
491 }; 490 };
492 491
493 } // namespace chromeos 492 } // namespace chromeos
494 493
495 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ 494 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698