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

Unified Diff: chromeos/dbus/fake_shill_manager_client.h

Issue 330833003: Rely on Service.Visible instead of Manager.Services (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix stubs for tests 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 | « no previous file | chromeos/dbus/fake_shill_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_shill_manager_client.h
diff --git a/chromeos/dbus/fake_shill_manager_client.h b/chromeos/dbus/fake_shill_manager_client.h
index 97dd66383c0ea270df79629c05bbb567e83a8bc2..c3bd618bb54865993955dae2057df16a33306c2c 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);
« no previous file with comments | « no previous file | chromeos/dbus/fake_shill_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698