summaryrefslogtreecommitdiffstats
path: root/chromeos/network/network_state_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/network/network_state_handler.h')
-rw-r--r--chromeos/network/network_state_handler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index 3ae7126..9ad3ac8 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