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

Unified Diff: chromeos/dbus/shill_service_client.h

Issue 24150004: Refactor the setup of Shill*Stubs' default environment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed some includes. Created 7 years, 3 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_profile_client_stub.cc ('k') | chromeos/dbus/shill_service_client_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_service_client.h
diff --git a/chromeos/dbus/shill_service_client.h b/chromeos/dbus/shill_service_client.h
index 64f255743bb4a3885a6a094b51c3f0e53033e07a..8e75bafdd6649a7bd1a691c6a1add2d5d725f2c5 100644
--- a/chromeos/dbus/shill_service_client.h
+++ b/chromeos/dbus/shill_service_client.h
@@ -44,10 +44,6 @@ class CHROMEOS_EXPORT ShillServiceClient : public DBusClient {
// GetTestInterface(), only implemented in the stub implementation.
class TestInterface {
public:
- // Adds a set of default services. Must be called after all Shill
- // clients have been created.
- virtual void AddDefaultServices() = 0;
-
// Adds a Service to the Manager and Service stubs.
virtual void AddService(const std::string& service_path,
const std::string& name,
@@ -78,6 +74,9 @@ class CHROMEOS_EXPORT ShillServiceClient : public DBusClient {
// Clears all Services from the Manager and Service stubs.
virtual void ClearServices() = 0;
+ virtual void SetConnectBehavior(const std::string& service_path,
+ const base::Closure& behavior) = 0;
+
protected:
virtual ~TestInterface() {}
};
« no previous file with comments | « chromeos/dbus/shill_profile_client_stub.cc ('k') | chromeos/dbus/shill_service_client_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698