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

Unified Diff: chromeos/dbus/shill_manager_client_stub.h

Issue 14566009: Add NetworkConnectionHandler class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modify Shill stubs Created 7 years, 8 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
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 314713fdc0665f6e64e830f461689369ee2c8bf1..67b1ce6c564bf2a7b96d8c7d6949dbc5f49dc86c 100644
--- a/chromeos/dbus/shill_manager_client_stub.h
+++ b/chromeos/dbus/shill_manager_client_stub.h
@@ -13,9 +13,9 @@
namespace chromeos {
-// A stub implementation of ShillManagerClient.
-// Implemented: Stub devices and services for NetworkStateManager tests.
-// Implemented: Stub cellular device entry for SMS tests.
+// A stub implementation of ShillManagerClient. This works in close coordination
+// with ShillServiceClientStub. ShillDeviceClientStub, and
+// ShillProfileClientStub, and is not intended to be used independently.
class ShillManagerClientStub : public ShillManagerClient,
public ShillManagerClient::TestInterface {
public:
@@ -94,13 +94,13 @@ class ShillManagerClientStub : public ShillManagerClient,
virtual void AddDevice(const std::string& device_path) OVERRIDE;
virtual void RemoveDevice(const std::string& device_path) OVERRIDE;
virtual void ClearDevices() OVERRIDE;
- virtual void ClearServices() OVERRIDE;
- virtual void AddService(const std::string& service_path,
- bool add_to_watch_list) OVERRIDE;
- virtual void AddServiceAtIndex(const std::string& service_path,
- size_t index,
+ virtual void ClearManagerServices() OVERRIDE;
+ virtual void AddManagerService(const std::string& service_path,
bool add_to_watch_list) OVERRIDE;
- virtual void RemoveService(const std::string& service_path) OVERRIDE;
+ virtual void MoveServiceToIndex(const std::string& service_path,
+ size_t index,
+ bool add_to_watch_list) OVERRIDE;
+ virtual void RemoveManagerService(const std::string& service_path) OVERRIDE;
virtual void AddTechnology(const std::string& type, bool enabled) OVERRIDE;
virtual void RemoveTechnology(const std::string& type) OVERRIDE;
virtual void SetTechnologyInitializing(const std::string& type,

Powered by Google App Engine
This is Rietveld 408576698