device/bluetooth: Add RegisterAudioSink method to Bluetooth adapter.
commita7094e2e556259582071826cda72dc2cc1a3a9fc
authormcchou <mcchou@chromium.org>
Thu, 15 Jan 2015 20:18:03 +0000 (15 12:18 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 15 Jan 2015 20:18:42 +0000 (15 20:18 +0000)
tree2ecc85142065fbefc5f1da9d29c555d4ecf11a39
parent735db9ff60ce058f32d55fc88ad76503c6ec3e35
device/bluetooth: Add RegisterAudioSink method to Bluetooth adapter.

This CL adds RegisterAudioSink method to Bluetooth adapter
abstraction class and its subclasses.For ChromeOS, the
implementation will be in the following CL. As for Mac and Windows,
there is no implementation for now. This CL also adds
BluetoothAudioSink::ErrorCode and BluetoothAudioSink::Unregister.

BUG=441581

Review URL: https://codereview.chromium.org/782293004

Cr-Commit-Position: refs/heads/master@{#311724}
device/bluetooth/bluetooth_adapter.h
device/bluetooth/bluetooth_adapter_chromeos.cc
device/bluetooth/bluetooth_adapter_chromeos.h
device/bluetooth/bluetooth_adapter_mac.h
device/bluetooth/bluetooth_adapter_mac.mm
device/bluetooth/bluetooth_adapter_unittest.cc
device/bluetooth/bluetooth_adapter_win.cc
device/bluetooth/bluetooth_adapter_win.h
device/bluetooth/bluetooth_audio_sink.h
device/bluetooth/test/mock_bluetooth_adapter.h