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/macros.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 // Observer class for all network state changes, including changes to | 19 // Observer class for all network state changes, including changes to |
20 // active (connecting or connected) services. | 20 // active (connecting or connected) services. |
21 class CHROMEOS_EXPORT NetworkStateHandlerObserver { | 21 class CHROMEOS_EXPORT NetworkStateHandlerObserver { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // can safely stop observing. | 55 // can safely stop observing. |
56 virtual void IsShuttingDown(); | 56 virtual void IsShuttingDown(); |
57 | 57 |
58 private: | 58 private: |
59 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); | 59 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace chromeos | 62 } // namespace chromeos |
63 | 63 |
64 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ | 64 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ |
OLD | NEW |