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

Unified Diff: device/bluetooth/bluetooth_audio_sink.h

Issue 876153002: device/bluetooth:Implement Register() for BluetoothAudioSinkChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused include, moved default codec and fixed nits. Created 5 years, 11 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
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:

Powered by Google App Engine
This is Rietveld 408576698