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

Unified Diff: chrome/utility/wifi/wifi_service.h

Issue 30753002: Move GetVisibleNetworks network type filtering to WiFiService interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months 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: chrome/utility/wifi/wifi_service.h
diff --git a/chrome/utility/wifi/wifi_service.h b/chrome/utility/wifi/wifi_service.h
index f743786428aaf45231b7ccb2ca454d090f3c699e..e45c07e6023236f8f8c693e6260ad1debd32ca1f 100644
--- a/chrome/utility/wifi/wifi_service.h
+++ b/chrome/utility/wifi/wifi_service.h
@@ -111,9 +111,10 @@ class WiFiService {
const StringResultCallback& callback,
const ErrorCallback& error_callback) = 0;
- // Get list of visible networks. Run |callback| on success, |error_callback|
- // on failure.
- virtual void GetVisibleNetworks(const NetworkListCallback& callback,
+ // Get list of visible networks of |network_type|. Run |callback| on success,
+ // |error_callback| on failure.
+ virtual void GetVisibleNetworks(const std::string& network_type,
+ const NetworkListCallback& callback,
const ErrorCallback& error_callback) = 0;
// Request network scan. Send |NetworkListChanged| event on completion.

Powered by Google App Engine
This is Rietveld 408576698