Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: components/wifi/wifi_service.h

Issue 88653002: Move GetVisibleNetworks network type filtering to WiFiService interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/wifi/wifi_service.h
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h
index a81d1e3a22883ffe4001c0341d2d8752ebb68072..49f8af454df351dee1f53908aa57c652a63b34c1 100644
--- a/components/wifi/wifi_service.h
+++ b/components/wifi/wifi_service.h
@@ -54,8 +54,10 @@ class WIFI_EXPORT WiFiService {
scoped_ptr<base::DictionaryValue> properties,
std::string* error) = 0;
- // Get list of visible networks. Populates |network_list| on success.
- virtual void GetVisibleNetworks(ListValue* network_list) = 0;
+ // Get list of visible networks of |network_type| (one of onc::network_type).
+ // Populates |network_list| on success.
+ virtual void GetVisibleNetworks(const std::string& network_type,
+ ListValue* network_list) = 0;
// Request network scan. Send |NetworkListChanged| event on completion.
virtual void RequestNetworkScan() = 0;

Powered by Google App Engine
This is Rietveld 408576698