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..07657786b0d7de8f902a22def88f852dc9c3eeef 100644 |
--- a/chromeos/network/network_state_handler.h |
+++ b/chromeos/network/network_state_handler.h |
@@ -183,8 +183,15 @@ 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 |
+ // the following properties: |
+ // |configured_only| - if true only include networks where IsInProfile is true |
+ // |visible_only| - if true only include networks in the visible Services list |
+ // |limit| - if > 0 limits the number of results. |
void GetFavoriteListByType(const NetworkTypePattern& type, |
+ bool configured_only, |
+ bool visible_only, |
+ int limit, |
FavoriteStateList* list) const; |
// Finds and returns the FavoriteState associated with |service_path| or NULL |