Index: device/bluetooth/bluetooth_adapter.h |
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h |
index 3b864c308c9cb25cd68b963f68862889ea3b000c..118626ce81944f52deb96f600be97bc98b85ece5 100644 |
--- a/device/bluetooth/bluetooth_adapter.h |
+++ b/device/bluetooth/bluetooth_adapter.h |
@@ -21,7 +21,6 @@ |
#include "base/time/time.h" |
#include "build/build_config.h" |
#include "device/bluetooth/bluetooth_advertisement.h" |
-#include "device/bluetooth/bluetooth_audio_sink.h" |
#include "device/bluetooth/bluetooth_device.h" |
#include "device/bluetooth/bluetooth_export.h" |
@@ -241,8 +240,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter |
base::Callback<void(scoped_refptr<BluetoothSocket>)>; |
using CreateServiceErrorCallback = |
base::Callback<void(const std::string& message)>; |
- using AcquiredCallback = |
- base::Callback<void(scoped_refptr<BluetoothAudioSink>)>; |
using CreateAdvertisementCallback = |
base::Callback<void(scoped_refptr<BluetoothAdvertisement>)>; |
using AdvertisementErrorCallback = |
@@ -422,16 +419,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter |
const CreateServiceCallback& callback, |
const CreateServiceErrorCallback& error_callback) = 0; |
- // Creates and registers a BluetoothAudioSink with |options|. If the fields in |
- // |options| are not specified, the default values will be used. |callback| |
- // will be called on success with a BluetoothAudioSink which is to be owned by |
- // the caller of this method. |error_callback| will be called on failure with |
- // a message indicating the cause. |
- virtual void RegisterAudioSink( |
- const BluetoothAudioSink::Options& options, |
- const AcquiredCallback& callback, |
- const BluetoothAudioSink::ErrorCallback& error_callback) = 0; |
- |
// Creates and registers an advertisement for broadcast over the LE channel. |
// The created advertisement will be returned via the success callback. An |
// advertisement can unregister itself at any time by calling its unregister |