Index: device/bluetooth/bluetooth_audio_sink.h |
diff --git a/device/bluetooth/bluetooth_audio_sink.h b/device/bluetooth/bluetooth_audio_sink.h |
index f5826c1d83184aeae5126c6883d66ae2ca3d5834..0814273a7a7f0ca643ecd3672d0f32c014e7b37d 100644 |
--- a/device/bluetooth/bluetooth_audio_sink.h |
+++ b/device/bluetooth/bluetooth_audio_sink.h |
@@ -98,6 +98,9 @@ class BluetoothAudioSink : public base::RefCounted<BluetoothAudioSink> { |
protected: |
friend class base::RefCounted<BluetoothAudioSink>; |
BluetoothAudioSink(); |
+ |
+ // The destructor should invoke Unregister() to ensure the audio sink will be |
armansito
2015/01/30 01:27:46
nit: Say "The destructor invokes Unregister()". Sa
Miao
2015/01/30 03:59:04
Done.
|
+ // unregistered even if the user applications fail to do so. |
virtual ~BluetoothAudioSink(); |
private: |