| Index: chromeos/network/network_state_handler_observer.h
|
| diff --git a/chromeos/network/network_state_handler_observer.h b/chromeos/network/network_state_handler_observer.h
|
| index 07a4a7723413ce86fef66d5b5394b819f8656e53..96f25ce64c9a9428e8486cf78554d11950cd6ee3 100644
|
| --- a/chromeos/network/network_state_handler_observer.h
|
| +++ b/chromeos/network/network_state_handler_observer.h
|
| @@ -34,17 +34,18 @@ class CHROMEOS_EXPORT NetworkStateHandlerObserver {
|
| // of devices, so they are not passed in the method.
|
| virtual void DeviceListChanged();
|
|
|
| - // The active network changed. |network| will be NULL if there is no longer
|
| - // an active network.
|
| - virtual void ActiveNetworkChanged(const NetworkState* network);
|
| -
|
| - // The state of the active network changed.
|
| - virtual void ActiveNetworkStateChanged(const NetworkState* network);
|
| -
|
| - // One or more network service properties changed. Note: for the active
|
| - // network, this will be called in *addition* to ActiveNetworkStateChanged()
|
| - // if the state property changed.
|
| - virtual void NetworkServiceChanged(const NetworkState* network);
|
| + // The default network changed (includes VPNs) or its connection state
|
| + // changed. |network| will be NULL if there is no longer a default network.
|
| + virtual void DefaultNetworkChanged(const NetworkState* network);
|
| +
|
| + // The connection state of |network| changed.
|
| + virtual void NetworkConnectionStateChanged(const NetworkState* network);
|
| +
|
| + // One or more properties of |network| have been updated. Note: this will get
|
| + // called in *addition* to NetworkConnectionStateChanged() when the
|
| + // connection state property changes. Use this to track properties like
|
| + // wifi strength.
|
| + virtual void NetworkPropertiesUpdated(const NetworkState* network);
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver);
|
|
|