| Index: chromeos/dbus/experimental_bluetooth_profile_service_provider.cc
|
| diff --git a/chromeos/dbus/experimental_bluetooth_profile_service_provider.cc b/chromeos/dbus/experimental_bluetooth_profile_service_provider.cc
|
| index 30fa5e99a29c2e95827ec4198f423cdc0bab2000..a58c8bc8992be3025994b6b67c530fe0c53aff6a 100644
|
| --- a/chromeos/dbus/experimental_bluetooth_profile_service_provider.cc
|
| +++ b/chromeos/dbus/experimental_bluetooth_profile_service_provider.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/logging.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/threading/platform_thread.h"
|
| +#include "chromeos/dbus/fake_bluetooth_profile_service_provider.h"
|
| #include "dbus/bus.h"
|
| #include "dbus/exported_object.h"
|
| #include "dbus/message.h"
|
| @@ -253,19 +254,6 @@ class ExperimentalBluetoothProfileServiceProviderImpl
|
| DISALLOW_COPY_AND_ASSIGN(ExperimentalBluetoothProfileServiceProviderImpl);
|
| };
|
|
|
| -// The ExperimentalBluetoothProfileServiceProvider implementation used on Linux
|
| -// desktop, which does nothing.
|
| -class ExperimentalBluetoothProfileServiceProviderStubImpl
|
| - : public ExperimentalBluetoothProfileServiceProvider {
|
| - public:
|
| - explicit ExperimentalBluetoothProfileServiceProviderStubImpl(
|
| - Delegate* delegate) {
|
| - }
|
| -
|
| - virtual ~ExperimentalBluetoothProfileServiceProviderStubImpl() {
|
| - }
|
| -};
|
| -
|
| ExperimentalBluetoothProfileServiceProvider::
|
| ExperimentalBluetoothProfileServiceProvider() {
|
| }
|
| @@ -284,7 +272,7 @@ ExperimentalBluetoothProfileServiceProvider*
|
| return new ExperimentalBluetoothProfileServiceProviderImpl(
|
| bus, object_path, delegate);
|
| } else {
|
| - return new ExperimentalBluetoothProfileServiceProviderStubImpl(delegate);
|
| + return new FakeBluetoothProfileServiceProvider(object_path, delegate);
|
| }
|
| }
|
|
|
|
|