Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1590)

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 2389753003: Delete unused BluetoothAudioSink code. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/BUILD.gn ('k') | device/bluetooth/bluetooth_adapter_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « device/bluetooth/BUILD.gn ('k') | device/bluetooth/bluetooth_adapter_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698