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 540b88005c48a38a4c03f6007b252727277fd252..942dd22933de966b23ea2f4dc65c0e32c170a83d 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: |
@@ -78,17 +78,9 @@ class ShillManagerClientStub : public ShillManagerClient, |
virtual ShillManagerClient::TestInterface* GetTestInterface() OVERRIDE; |
// ShillManagerClient::TestInterface overrides. |
- |
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, |
- bool add_to_watch_list) OVERRIDE; |
- virtual void RemoveService(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, |
@@ -96,6 +88,13 @@ class ShillManagerClientStub : public ShillManagerClient, |
virtual void AddGeoNetwork(const std::string& technology, |
const base::DictionaryValue& network) OVERRIDE; |
virtual void ClearProperties() OVERRIDE; |
+ virtual void MoveServiceToIndex(const std::string& service_path, |
+ size_t index, |
+ bool add_to_watch_list) OVERRIDE; |
+ virtual void AddManagerService(const std::string& service_path, |
+ bool add_to_watch_list) OVERRIDE; |
+ virtual void RemoveManagerService(const std::string& service_path) OVERRIDE; |
+ virtual void ClearManagerServices() OVERRIDE; |
private: |
void AddServiceToWatchList(const std::string& service_path); |