| Index: chromeos/network/network_state_handler.h
|
| diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
|
| index c6d4c2db721504132d9a59f7dddd6c4daa17afe0..03f585985f3ae2a7051daf39af383abb398d3121 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:
|
| + // |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 a favorite state by |service_path| or NULL if not found.
|
|
|