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

Unified Diff: chromeos/network/network_state_handler.h

Issue 280023003: Implement networkingPrivate.getNetworks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests (sort ServiceCompleteList) Created 6 years, 7 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: chromeos/network/network_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index 0d3709e3bb062f9fc352c66f6a84ef5e0629eec7..e0218f8e38abfe935da5c6192face69aaef92b59 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -183,8 +183,13 @@ class CHROMEOS_EXPORT NetworkStateHandler
// favorite is visible and retrieve the complete properties (and vice-versa).
void GetFavoriteList(FavoriteStateList* list) const;
- // Like GetFavoriteList() but only returns favorites with matching |type|.
+ // Like GetFavoriteList() but only returns favorites with matching |type| and
+ // and the following properties:
pneubeck (no reviews) 2014/05/15 18:28:38 remove one 'and'
stevenjb 2014/05/15 20:12:41 Done.
+ // |configured_only| - if true only include networks where IsInProfile is true
+ // |visible_only| - if true only include networks in the visible Services list
void GetFavoriteListByType(const NetworkTypePattern& type,
+ bool configured_only,
+ bool visible_only,
FavoriteStateList* list) const;
// Finds and returns the FavoriteState associated with |service_path| or NULL

Powered by Google App Engine
This is Rietveld 408576698