diff options
author | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 09:59:45 +0000 |
---|---|---|
committer | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 09:59:45 +0000 |
commit | 6489b459d871f319d20c1ba37aa0ac2ed8bed78a (patch) | |
tree | 19cac61fca2f519cf5c7986e09b82f44218769c5 /chromeos/dbus/shill_manager_client.h | |
parent | 5d2cfdfe2bf4a5010fb00f8f03bf277d14f5641c (diff) | |
download | chromium_src-6489b459d871f319d20c1ba37aa0ac2ed8bed78a.zip chromium_src-6489b459d871f319d20c1ba37aa0ac2ed8bed78a.tar.gz chromium_src-6489b459d871f319d20c1ba37aa0ac2ed8bed78a.tar.bz2 |
Remove fake client creation from DBusClients' Create() functions.
The DBusClient interfaces shouldn't provide functionality related to testing code (like Stubs/fake implementations).
Instead fake clients are now directly created without relying on the static Create() functions. The now unused DBusClientImplementationType argument of the Create() functions could be removed.
BUG=275286
R=satorux@chromium.org
Review URL: https://codereview.chromium.org/91413002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_manager_client.h')
-rw-r--r-- | chromeos/dbus/shill_manager_client.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chromeos/dbus/shill_manager_client.h b/chromeos/dbus/shill_manager_client.h index c9307ca..a128b46 100644 --- a/chromeos/dbus/shill_manager_client.h +++ b/chromeos/dbus/shill_manager_client.h @@ -10,7 +10,6 @@ #include "base/basictypes.h" #include "chromeos/chromeos_export.h" #include "chromeos/dbus/dbus_client.h" -#include "chromeos/dbus/dbus_client_implementation_type.h" #include "chromeos/dbus/dbus_method_call_status.h" #include "chromeos/dbus/shill_client_helper.h" @@ -109,7 +108,7 @@ class CHROMEOS_EXPORT ShillManagerClient : public DBusClient { // Factory function, creates a new instance which is owned by the caller. // For normal usage, access the singleton via DBusThreadManager::Get(). - static ShillManagerClient* Create(DBusClientImplementationType type); + static ShillManagerClient* Create(); // Adds a property changed |observer|. virtual void AddPropertyChangedObserver( |