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 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
48 // One or more properties of |device| have been updated. | 48 // One or more properties of |device| have been updated. |
49 virtual void DevicePropertiesUpdated(const DeviceState* device); | 49 virtual void DevicePropertiesUpdated(const DeviceState* device); |
50 | 50 |
51 // A scan for |device| completed. | 51 // A scan for |device| completed. |
52 virtual void ScanCompleted(const DeviceState* device); | 52 virtual void ScanCompleted(const DeviceState* device); |
53 | 53 |
54 // Called just before NetworkStateHandler is destroyed so that observers | 54 // Called just before NetworkStateHandler is destroyed so that observers |
55 // can safely stop observing. | 55 // can safely stop observing. |
56 virtual void IsShuttingDown(); | 56 virtual void IsShuttingDown(); |
57 | 57 |
58 // Fake network path, used to indicate that NotifyNetworkPropertiesUpdated was | |
Daniel Erat
2015/03/24 20:42:25
nit: please move this to the top of the 'public' s
Greg Levin
2015/04/03 18:28:37
Removed.
| |
59 // generated by a debugging hotkey. | |
60 static const char kDebugDataSaverNetworkPath[]; | |
stevenjb
2015/03/25 17:57:08
This definitely doesn't belong in this file. If th
Greg Levin
2015/04/03 18:28:37
Removed.
| |
61 | |
58 private: | 62 private: |
59 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); | 63 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); |
60 }; | 64 }; |
61 | 65 |
62 } // namespace chromeos | 66 } // namespace chromeos |
63 | 67 |
64 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ | 68 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ |
OLD | NEW |