Index: chromeos/network/network_state_handler.h |
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h |
index 3ae71262a649c6c96da3cd08fe70bd7368870312..9ad3ac87e097547556e826c91478b83e83ae4c75 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 |