diff options
Diffstat (limited to 'chromeos/dbus/shill_ipconfig_client.cc')
-rw-r--r-- | chromeos/dbus/shill_ipconfig_client.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/chromeos/dbus/shill_ipconfig_client.cc b/chromeos/dbus/shill_ipconfig_client.cc index e30346a..7af7fa2 100644 --- a/chromeos/dbus/shill_ipconfig_client.cc +++ b/chromeos/dbus/shill_ipconfig_client.cc @@ -8,7 +8,6 @@ #include "base/message_loop/message_loop.h" #include "base/stl_util.h" #include "base/values.h" -#include "chromeos/dbus/fake_shill_ipconfig_client.h" #include "chromeos/dbus/shill_property_changed_observer.h" #include "dbus/bus.h" #include "dbus/message.h" @@ -172,12 +171,8 @@ ShillIPConfigClient::ShillIPConfigClient() {} ShillIPConfigClient::~ShillIPConfigClient() {} // static -ShillIPConfigClient* ShillIPConfigClient::Create( - DBusClientImplementationType type) { - if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) - return new ShillIPConfigClientImpl(); - DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); - return new FakeShillIPConfigClient(); +ShillIPConfigClient* ShillIPConfigClient::Create() { + return new ShillIPConfigClientImpl(); } } // namespace chromeos |