summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_shill_manager_client.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 04:39:56 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 04:39:56 +0000
commit05adc159b148ae1c9ac6bd173c92b4cced5cce39 (patch)
tree5408daa81ed3d2cfe7029f0168dd79dd3d1fbea7 /chromeos/dbus/fake_shill_manager_client.h
parent5d654b92a3d2ce7d6b7273c4828d7c27ef4cdcc5 (diff)
downloadchromium_src-05adc159b148ae1c9ac6bd173c92b4cced5cce39.zip
chromium_src-05adc159b148ae1c9ac6bd173c92b4cced5cce39.tar.gz
chromium_src-05adc159b148ae1c9ac6bd173c92b4cced5cce39.tar.bz2
Rely on Service.Visible instead of Manager.Services
With this change we rely on Service.Visible and only use Manager.Services to determine which services to observe. BUG=384380 R=pneubeck@chromium.org Review URL: https://codereview.chromium.org/330833003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/fake_shill_manager_client.h')
-rw-r--r--chromeos/dbus/fake_shill_manager_client.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromeos/dbus/fake_shill_manager_client.h b/chromeos/dbus/fake_shill_manager_client.h
index 97dd663..c3bd618 100644
--- a/chromeos/dbus/fake_shill_manager_client.h
+++ b/chromeos/dbus/fake_shill_manager_client.h
@@ -93,7 +93,8 @@ class CHROMEOS_EXPORT FakeShillManagerClient
virtual void ClearProperties() OVERRIDE;
virtual void SetManagerProperty(const std::string& key,
const base::Value& value) OVERRIDE;
- virtual void AddManagerService(const std::string& service_path) OVERRIDE;
+ virtual void AddManagerService(const std::string& service_path,
+ bool notify_observers) OVERRIDE;
virtual void RemoveManagerService(const std::string& service_path) OVERRIDE;
virtual void ClearManagerServices() OVERRIDE;
virtual void ServiceStateChanged(const std::string& service_path,
@@ -108,9 +109,6 @@ class CHROMEOS_EXPORT FakeShillManagerClient
static const char kFakeEthernetNetworkPath[];
private:
- // |property| should be kServicesProperty or kServiceCompleteListProperty.
- void SortServiceList(const std::string& property);
-
void SetDefaultProperties();
void PassStubProperties(const DictionaryValueCallback& callback) const;
void PassStubGeoNetworks(const DictionaryValueCallback& callback) const;
@@ -121,6 +119,7 @@ class CHROMEOS_EXPORT FakeShillManagerClient
void SetTechnologyEnabled(const std::string& type,
const base::Closure& callback,
bool enabled);
+ base::ListValue* GetEnabledServiceList(const std::string& property) const;
void ScanCompleted(const std::string& device_path,
const base::Closure& callback);