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

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: Revert Associating Stub change for test Created 7 years, 7 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_manager_client.h ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d1ff8de42788eac44620f4852adfe73e8a1eed71..53863a2e110269373a991b1678cc159acc8bd3b4 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,
@@ -97,6 +89,13 @@ class ShillManagerClientStub : public ShillManagerClient,
const base::DictionaryValue& network) OVERRIDE;
virtual void AddProfile(const std::string& profile_path) 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);
« no previous file with comments | « chromeos/dbus/shill_manager_client.h ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698