| 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_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 |
| 11 #include "chrome/browser/chromeos/cros/network_library.h" | 11 #include "chrome/browser/chromeos/cros/network_library.h" |
| 12 #include "chromeos/network/onc/onc_constants.h" | 12 #include "chromeos/network/onc/onc_constants.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 | 15 |
| 16 class NetworkLoginObserver; | |
| 17 | |
| 18 class NetworkLibraryImplBase : public NetworkLibrary { | 16 class NetworkLibraryImplBase : public NetworkLibrary { |
| 19 public: | 17 public: |
| 20 NetworkLibraryImplBase(); | 18 NetworkLibraryImplBase(); |
| 21 virtual ~NetworkLibraryImplBase(); | 19 virtual ~NetworkLibraryImplBase(); |
| 22 | 20 |
| 23 ////////////////////////////////////////////////////////////////////////////// | 21 ////////////////////////////////////////////////////////////////////////////// |
| 24 // NetworkLibraryImplBase virtual functions. | 22 // NetworkLibraryImplBase virtual functions. |
| 25 | 23 |
| 26 // Functions for monitoring networks & devices. | 24 // Functions for monitoring networks & devices. |
| 27 virtual void MonitorNetworkStart(const std::string& service_path) = 0; | 25 virtual void MonitorNetworkStart(const std::string& service_path) = 0; |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 342 |
| 345 // PIN operation observer list. | 343 // PIN operation observer list. |
| 346 ObserverList<PinOperationObserver> pin_operation_observers_; | 344 ObserverList<PinOperationObserver> pin_operation_observers_; |
| 347 | 345 |
| 348 // Network observer map. | 346 // Network observer map. |
| 349 NetworkObserverMap network_observers_; | 347 NetworkObserverMap network_observers_; |
| 350 | 348 |
| 351 // Network device observer map. | 349 // Network device observer map. |
| 352 NetworkDeviceObserverMap network_device_observers_; | 350 NetworkDeviceObserverMap network_device_observers_; |
| 353 | 351 |
| 354 // Network login observer. | |
| 355 scoped_ptr<NetworkLoginObserver> network_login_observer_; | |
| 356 | |
| 357 // List of profiles. | 352 // List of profiles. |
| 358 NetworkProfileList profile_list_; | 353 NetworkProfileList profile_list_; |
| 359 | 354 |
| 360 // A service path based map of all visible Networks. | 355 // A service path based map of all visible Networks. |
| 361 NetworkMap network_map_; | 356 NetworkMap network_map_; |
| 362 | 357 |
| 363 // A unique_id based map of all visible Networks. | 358 // A unique_id based map of all visible Networks. |
| 364 NetworkMap network_unique_id_map_; | 359 NetworkMap network_unique_id_map_; |
| 365 | 360 |
| 366 // A service path based map of all remembered Networks. | 361 // A service path based map of all remembered Networks. |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 // stray networks that shill still has on file, but are not known on the | 452 // stray networks that shill still has on file, but are not known on the |
| 458 // Chrome side. | 453 // Chrome side. |
| 459 NetworkSourceMap network_source_map_; | 454 NetworkSourceMap network_source_map_; |
| 460 | 455 |
| 461 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase); | 456 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase); |
| 462 }; | 457 }; |
| 463 | 458 |
| 464 } // namespace chromeos | 459 } // namespace chromeos |
| 465 | 460 |
| 466 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ | 461 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ |
| OLD | NEW |