diff options
Diffstat (limited to 'chromeos/dbus/bluetooth_profile_manager_client.cc')
-rw-r--r-- | chromeos/dbus/bluetooth_profile_manager_client.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/chromeos/dbus/bluetooth_profile_manager_client.cc b/chromeos/dbus/bluetooth_profile_manager_client.cc index aebd0d8..ee2fe2b 100644 --- a/chromeos/dbus/bluetooth_profile_manager_client.cc +++ b/chromeos/dbus/bluetooth_profile_manager_client.cc @@ -6,7 +6,6 @@ #include "base/bind.h" #include "base/logging.h" -#include "chromeos/dbus/fake_bluetooth_profile_manager_client.h" #include "dbus/bus.h" #include "dbus/message.h" #include "dbus/object_path.h" @@ -234,12 +233,8 @@ BluetoothProfileManagerClient::BluetoothProfileManagerClient() { BluetoothProfileManagerClient::~BluetoothProfileManagerClient() { } -BluetoothProfileManagerClient* BluetoothProfileManagerClient::Create( - DBusClientImplementationType type) { - if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) - return new BluetoothProfileManagerClientImpl(); - DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); - return new FakeBluetoothProfileManagerClient(); +BluetoothProfileManagerClient* BluetoothProfileManagerClient::Create() { + return new BluetoothProfileManagerClientImpl(); } } // namespace chromeos |