| Index: chromeos/network/network_state_handler.h
|
| diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
|
| index d9bb1d2c64e6b732922d8d571cd485f1de13ab33..baf5671d05862d65953801f065f6134e7a054ac9 100644
|
| --- a/chromeos/network/network_state_handler.h
|
| +++ b/chromeos/network/network_state_handler.h
|
| @@ -61,6 +61,7 @@ class CHROMEOS_EXPORT NetworkStateHandler
|
| public:
|
| typedef std::vector<ManagedState*> ManagedStateList;
|
| typedef std::vector<const NetworkState*> NetworkStateList;
|
| + typedef std::vector<const DeviceState*> DeviceStateList;
|
| typedef std::vector<const FavoriteState*> FavoriteStateList;
|
|
|
| enum TechnologyState {
|
| @@ -146,6 +147,12 @@ class CHROMEOS_EXPORT NetworkStateHandler
|
| // only on the UI thread).
|
| void GetNetworkList(NetworkStateList* list) const;
|
|
|
| + // Sets |list| to contain the list of devices. The returned list contains
|
| + // a copy of DeviceState pointers which should not be stored or used beyond
|
| + // the scope of the calling function (i.e. they may later become invalid, but
|
| + // only on the UI thread).
|
| + void GetDeviceList(DeviceStateList* list) const;
|
| +
|
| // Sets |list| to contain the list of favorite (aka "preferred") networks.
|
| // See GetNetworkList() for usage, and notes for |favorite_list_|.
|
| // Favorites that are visible have the same path() as the entries in
|
|
|