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

Unified Diff: chromeos/dbus/shill_service_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_service_client.h ('k') | chromeos/dbus/shill_service_client_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_service_client_stub.h
diff --git a/chromeos/dbus/shill_service_client_stub.h b/chromeos/dbus/shill_service_client_stub.h
index cddaaef60f02bbab2252039a777f26242bf9a746..d248494a4952239268f934a474265b0f6bf083e5 100644
--- a/chromeos/dbus/shill_service_client_stub.h
+++ b/chromeos/dbus/shill_service_client_stub.h
@@ -71,11 +71,14 @@ class ShillServiceClientStub : public ShillServiceClient,
virtual void AddService(const std::string& service_path,
const std::string& name,
const std::string& type,
- const std::string& state) OVERRIDE;
+ const std::string& state,
+ bool add_to_watch_list) OVERRIDE;
virtual void RemoveService(const std::string& service_path) OVERRIDE;
virtual void SetServiceProperty(const std::string& service_path,
const std::string& property,
const base::Value& value) OVERRIDE;
+ virtual const base::DictionaryValue* GetServiceProperties(
+ const std::string& service_path) const OVERRIDE;
virtual void ClearServices() OVERRIDE;
private:
@@ -86,7 +89,8 @@ class ShillServiceClientStub : public ShillServiceClient,
const DictionaryValueCallback& callback);
void NotifyObserversPropertyChanged(const dbus::ObjectPath& service_path,
const std::string& property);
- base::DictionaryValue* GetServiceProperties(const std::string& service_path);
+ base::DictionaryValue* GetModifiableServiceProperties(
+ const std::string& service_path);
PropertyObserverList& GetObserverList(const dbus::ObjectPath& device_path);
base::DictionaryValue stub_services_;
« no previous file with comments | « chromeos/dbus/shill_service_client.h ('k') | chromeos/dbus/shill_service_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698