summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_manager_client.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 22:08:38 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 22:08:38 +0000
commitfa0336fa8a8909d614c9e500d76a0ebaa4844614 (patch)
treed9d549ac71541a75740a9c4319758d723477baeb /chromeos/dbus/shill_manager_client.h
parent1208940857f29eff012e834c971adcf0471ca9c1 (diff)
downloadchromium_src-fa0336fa8a8909d614c9e500d76a0ebaa4844614.zip
chromium_src-fa0336fa8a8909d614c9e500d76a0ebaa4844614.tar.gz
chromium_src-fa0336fa8a8909d614c9e500d76a0ebaa4844614.tar.bz2
Merge FavoriteState into NetworkState
BUG=375955 For trivial renaming: R=armansito@chromium.org, pneubeck@chromium.org TBR=derat@chromium.org, xiyuan@chromium.org Review URL: https://codereview.chromium.org/289383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276822 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_manager_client.h')
-rw-r--r--chromeos/dbus/shill_manager_client.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/chromeos/dbus/shill_manager_client.h b/chromeos/dbus/shill_manager_client.h
index 73de329..23ca24a 100644
--- a/chromeos/dbus/shill_manager_client.h
+++ b/chromeos/dbus/shill_manager_client.h
@@ -62,10 +62,8 @@ class CHROMEOS_EXPORT ShillManagerClient : public DBusClient {
const base::Value& value) = 0;
// Modify services in the Manager's list.
- virtual void AddManagerService(const std::string& service_path,
- bool add_to_visible_list) = 0;
- virtual void RemoveManagerService(const std::string& service_path,
- bool remove_from_complete_list) = 0;
+ virtual void AddManagerService(const std::string& service_path) = 0;
+ virtual void RemoveManagerService(const std::string& service_path) = 0;
virtual void ClearManagerServices() = 0;
// Called by ShillServiceClient when a service's State property changes,
@@ -74,10 +72,11 @@ class CHROMEOS_EXPORT ShillManagerClient : public DBusClient {
virtual void ServiceStateChanged(const std::string& service_path,
const std::string& state) = 0;
- // Called by ShillServiceClient when a service's State property changes,
- // after notifying observers. Services are sorted first by Active or
- // Inactive State, then by Type.
- virtual void SortManagerServices() = 0;
+ // Called by ShillServiceClient when a service's State or Visibile
+ // property changes. If |notify| is true, notifies observers if a list
+ // changed. Services are sorted first by active, inactive, or disabled
+ // state, then by type.
+ virtual void SortManagerServices(bool notify) = 0;
// Sets up the default fake environment based on default initial states
// or states provided by the command line.