Index: chromeos/dbus/shill_manager_client.h |
diff --git a/chromeos/dbus/shill_manager_client.h b/chromeos/dbus/shill_manager_client.h |
index 231da2c86fad6d2f12a068469ac5e6acb386a54c..e9fca9cd98b3d3dbfeead04a33a389d546694c39 100644 |
--- a/chromeos/dbus/shill_manager_client.h |
+++ b/chromeos/dbus/shill_manager_client.h |
@@ -42,13 +42,6 @@ class CHROMEOS_EXPORT ShillManagerClient { |
virtual void AddDevice(const std::string& device_path) = 0; |
virtual void RemoveDevice(const std::string& device_path) = 0; |
virtual void ClearDevices() = 0; |
- virtual void AddService(const std::string& service_path, |
- bool add_to_watch_list) = 0; |
- virtual void AddServiceAtIndex(const std::string& service_path, |
- size_t index, |
- bool add_to_watch_list) = 0; |
- virtual void RemoveService(const std::string& service_path) = 0; |
- virtual void ClearServices() = 0; |
virtual void AddTechnology(const std::string& type, bool enabled) = 0; |
virtual void RemoveTechnology(const std::string& type) = 0; |
virtual void SetTechnologyInitializing(const std::string& type, |
@@ -65,6 +58,18 @@ class CHROMEOS_EXPORT ShillManagerClient { |
// Used to reset all properties; does not notify observers. |
virtual void ClearProperties() = 0; |
+ // Move an existing service to a different index, e.g. to simulate the |
+ // result of a successful connect. |
+ virtual void MoveServiceToIndex(const std::string& service_path, |
+ size_t index, |
+ bool add_to_watch_list) = 0; |
+ |
+ // Add/Remove/ClearService should only be called from ShillServiceClient. |
+ virtual void AddManagerService(const std::string& service_path, |
+ bool add_to_watch_list) = 0; |
+ virtual void RemoveManagerService(const std::string& service_path) = 0; |
+ virtual void ClearManagerServices() = 0; |
+ |
protected: |
virtual ~TestInterface() {} |
}; |