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

Unified Diff: chromeos/network/shill_property_handler.h

Issue 289383004: Merge FavoriteState into NetworkState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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
« no previous file with comments | « chromeos/network/network_util.cc ('k') | chromeos/network/shill_property_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/shill_property_handler.h
diff --git a/chromeos/network/shill_property_handler.h b/chromeos/network/shill_property_handler.h
index 5a78f190fa5e18eeee111234856ae60419a740ea..0df6d3bf63950f515d2613d2e13c57f6371fe47a 100644
--- a/chromeos/network/shill_property_handler.h
+++ b/chromeos/network/shill_property_handler.h
@@ -50,6 +50,9 @@ class CHROMEOS_EXPORT ShillPropertyHandler
virtual void UpdateManagedList(ManagedState::ManagedType type,
const base::ListValue& entries) = 0;
+ // Called when the entries in the visible network list have changed.
+ virtual void UpdateVisibleNetworks(const base::ListValue& entries) = 0;
+
// Called when the properties for a managed state have changed.
virtual void UpdateManagedStateProperties(
ManagedState::ManagedType type,
@@ -156,13 +159,7 @@ class CHROMEOS_EXPORT ShillPropertyHandler
void ManagerPropertyChanged(const std::string& key,
const base::Value& value);
- // Requests properties for new entries in the list for |type| as follows:
- // * Any new Device objects for MANAGED_TYPE_DEVICE
- // * Any new Service objects for MANAGED_TYPE_NETWORK
- // * Additional new Service objects for MANAGED_TYPE_FAVORITE that were not
- // requested for MANAGED_TYPE_NETWORK (i.e. only request objects once).
- // For this to avoid duplicate requests, this must be called with
- // MANAGED_TYPE_NETWORK before MANAGED_TYPE_FAVORITE.
+ // Requests properties for new entries in the list for |type|.
void UpdateProperties(ManagedState::ManagedType type,
const base::ListValue& entries);
« no previous file with comments | « chromeos/network/network_util.cc ('k') | chromeos/network/shill_property_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698