Index: chromeos/network/network_state_handler.h |
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h |
index ab99e33520bf0f23a4ae6e50344b5b4d4f890283..10e41eb2e2461e13cf4f4d337d4db1c299723ec1 100644 |
--- a/chromeos/network/network_state_handler.h |
+++ b/chromeos/network/network_state_handler.h |
@@ -150,6 +150,10 @@ class CHROMEOS_EXPORT NetworkStateHandler |
// only on the UI thread). |
void GetNetworkList(NetworkStateList* list) const; |
+ // Like GetNetworkList() but only returns networks with matching |type|. |
+ void GetNetworkListByType(const std::string& type, |
+ 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 |