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

Unified Diff: chromeos/dbus/shill_manager_client_stub.h

Issue 12381002: Improve network stub behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/res/enabled Created 7 years, 10 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/dbus/shill_manager_client.h ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_manager_client_stub.h
diff --git a/chromeos/dbus/shill_manager_client_stub.h b/chromeos/dbus/shill_manager_client_stub.h
index bbb4f03430de9c0843c1cde5b529e50300e50fbd..9bb01e1d231513c0281047df4dc80769c0e42756 100644
--- a/chromeos/dbus/shill_manager_client_stub.h
+++ b/chromeos/dbus/shill_manager_client_stub.h
@@ -84,7 +84,7 @@ class ShillManagerClientStub : public ShillManagerClient,
virtual void AddDevice(const std::string& device_path) OVERRIDE;
virtual void RemoveDevice(const std::string& device_path) OVERRIDE;
- virtual void ResetDevices() OVERRIDE;
+ virtual void ClearDevices() OVERRIDE;
virtual void AddService(const std::string& service_path,
bool add_to_watch_list) OVERRIDE;
virtual void AddServiceAtIndex(const std::string& service_path,
@@ -106,6 +106,8 @@ class ShillManagerClientStub : public ShillManagerClient,
int delay_ms);
void NotifyObserversPropertyChanged(const std::string& property);
base::ListValue* GetListProperty(const std::string& property);
+ bool TechnologyEnabled(const std::string& type) const;
+ base::ListValue* GetEnabledServiceList(const std::string& property) const;
// Dictionary of property name -> property value
base::DictionaryValue stub_properties_;
« no previous file with comments | « chromeos/dbus/shill_manager_client.h ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698