diff options
author | mcchou <mcchou@chromium.org> | 2015-02-17 16:21:11 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-18 00:21:59 +0000 |
commit | 016980f10044b64144293f9e1ba0ce4c5fddeda3 (patch) | |
tree | ee052114c6bde9341035489a35848b2f61659517 /chromeos/dbus/bluetooth_media_client.h | |
parent | 1ff220bced57014ddeb99e321aa30f58efa15b15 (diff) | |
download | chromium_src-016980f10044b64144293f9e1ba0ce4c5fddeda3.zip chromium_src-016980f10044b64144293f9e1ba0ce4c5fddeda3.tar.gz chromium_src-016980f10044b64144293f9e1ba0ce4c5fddeda3.tar.bz2 |
device/bluetooth:Implement BluetoothMediaEndpointServiceProvider delegate and media-related overrides.
This CL implements delegate overrides for
BluetoothMediaEndpointServiceProvider and observer overrides for
BluetoothMediaClient and BluetoothMediaTransportClient. These
overrides will be called once a remote device connects to a local
A2DP audio sink, and the state of the audio sink should become idle.
The behaviors of FakeBluetoothMediaTransportClient,
FakeBluetoothMediaEndpointServiceProvider and
FakeMediaEndpointServiceProvider are also defined for
connection-related tests in this CL.
BUG=441581
TEST=device_unittests --gtest_filter=*AudioSink*
Review URL: https://codereview.chromium.org/910023002
Cr-Commit-Position: refs/heads/master@{#316709}
Diffstat (limited to 'chromeos/dbus/bluetooth_media_client.h')
-rw-r--r-- | chromeos/dbus/bluetooth_media_client.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chromeos/dbus/bluetooth_media_client.h b/chromeos/dbus/bluetooth_media_client.h index 2d9be6f..1bb5547 100644 --- a/chromeos/dbus/bluetooth_media_client.h +++ b/chromeos/dbus/bluetooth_media_client.h @@ -54,6 +54,12 @@ class CHROMEOS_EXPORT BluetoothMediaClient : public DBusClient { virtual void MediaRemoved(const dbus::ObjectPath& object_path) {} }; + // Constants used to indicate exceptional error conditions. + static const char kNoResponseError[]; + + // The string representation for the 128-bit UUID for A2DP Sink. + static const char kBluetoothAudioSinkUUID[]; + ~BluetoothMediaClient() override; // The ErrorCallback is used by media API methods to indicate failure. @@ -89,12 +95,6 @@ class CHROMEOS_EXPORT BluetoothMediaClient : public DBusClient { static BluetoothMediaClient* Create(); - // Constants used to indicate exceptional error conditions. - static const char kNoResponseError[]; - - // The string representation for the 128-bit UUID for A2DP Sink. - static const char kBluetoothAudioSinkUUID[]; - protected: BluetoothMediaClient(); |