| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_AUDIO_SINK_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_AUDIO_SINK_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_AUDIO_SINK_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_AUDIO_SINK_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 #include <string> | 10 #include <string> |
| 10 #include <vector> | 11 #include <vector> |
| 11 | 12 |
| 12 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 15 #include "device/bluetooth/bluetooth_export.h" | 17 #include "device/bluetooth/bluetooth_export.h" |
| 16 | 18 |
| 17 namespace device { | 19 namespace device { |
| 18 | 20 |
| 19 // TODO(mcchou): Define a BluetoothAudioSink specific IOBuffer abstraction. | 21 // TODO(mcchou): Define a BluetoothAudioSink specific IOBuffer abstraction. |
| 20 | 22 |
| 21 // BluetoothAudioSink represents a local A2DP audio sink where a remote device | 23 // BluetoothAudioSink represents a local A2DP audio sink where a remote device |
| 22 // can stream audio data. Once a BluetoothAudioSink is successfully registered, | 24 // can stream audio data. Once a BluetoothAudioSink is successfully registered, |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // unregistered even if the user applications fail to do so. | 122 // unregistered even if the user applications fail to do so. |
| 121 virtual ~BluetoothAudioSink(); | 123 virtual ~BluetoothAudioSink(); |
| 122 | 124 |
| 123 private: | 125 private: |
| 124 DISALLOW_COPY_AND_ASSIGN(BluetoothAudioSink); | 126 DISALLOW_COPY_AND_ASSIGN(BluetoothAudioSink); |
| 125 }; | 127 }; |
| 126 | 128 |
| 127 } // namespace device | 129 } // namespace device |
| 128 | 130 |
| 129 #endif // DEVICE_BLUETOOTH_BLUETOOTH_AUDIO_SINK_H_ | 131 #endif // DEVICE_BLUETOOTH_BLUETOOTH_AUDIO_SINK_H_ |
| OLD | NEW |