Chromium Code Reviews| 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 CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ | 5 #ifndef CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ |
| 6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ | 6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_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 "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 | 15 |
| 16 class DeviceState; | 16 class DeviceState; |
| 17 class NetworkState; | 17 class NetworkState; |
| 18 | 18 |
| 19 const char kHotkeyDebugDataSaver[] = "hotkey-debug-datasaver"; | |
|
Daniel Erat
2015/03/23 03:49:21
please don't put constants in the toplevel chromeo
Greg Levin
2015/03/24 20:35:32
Done.
| |
| 20 | |
| 19 // Observer class for all network state changes, including changes to | 21 // Observer class for all network state changes, including changes to |
| 20 // active (connecting or connected) services. | 22 // active (connecting or connected) services. |
| 21 class CHROMEOS_EXPORT NetworkStateHandlerObserver { | 23 class CHROMEOS_EXPORT NetworkStateHandlerObserver { |
| 22 public: | 24 public: |
| 23 NetworkStateHandlerObserver(); | 25 NetworkStateHandlerObserver(); |
| 24 virtual ~NetworkStateHandlerObserver(); | 26 virtual ~NetworkStateHandlerObserver(); |
| 25 | 27 |
| 26 // The list of networks changed. | 28 // The list of networks changed. |
| 27 virtual void NetworkListChanged(); | 29 virtual void NetworkListChanged(); |
| 28 | 30 |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 55 // can safely stop observing. | 57 // can safely stop observing. |
| 56 virtual void IsShuttingDown(); | 58 virtual void IsShuttingDown(); |
| 57 | 59 |
| 58 private: | 60 private: |
| 59 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); | 61 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // namespace chromeos | 64 } // namespace chromeos |
| 63 | 65 |
| 64 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ | 66 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ |
| OLD | NEW |