Chromium Code Reviews| Index: media/audio/audio_output_device.h |
| diff --git a/media/audio/audio_output_device.h b/media/audio/audio_output_device.h |
| index fe4459cc5018d411041b39c49a3e4f35a90187e6..24923e4d2a02787ad3d01dd8eaa3251e97560e7e 100644 |
| --- a/media/audio/audio_output_device.h |
| +++ b/media/audio/audio_output_device.h |
| @@ -98,9 +98,7 @@ class MEDIA_EXPORT AudioOutputDevice |
| virtual void OnIPCClosed() OVERRIDE; |
| // Creates an uninitialized AudioOutputDevice. Clients must call Initialize() |
| - // before using. |
| - // TODO(tommi): When all dependencies on |content| have been removed |
| - // from AudioOutputDevice, move this class over to media/audio. |
| + // before using. Takes ownership of |ipc|. |
| AudioOutputDevice(AudioOutputIPC* ipc, |
|
scherkus (not reviewing)
2012/10/18 01:56:28
ditto for accepting a scoped_ptr<>
miu
2012/10/18 03:27:26
Done (and audio_input_device.h too).
|
| const scoped_refptr<base::MessageLoopProxy>& io_loop); |
| @@ -136,7 +134,7 @@ class MEDIA_EXPORT AudioOutputDevice |
| // A pointer to the IPC layer that takes care of sending requests over to |
| // the AudioRendererHost. |
| - AudioOutputIPC* ipc_; |
| + scoped_ptr<AudioOutputIPC> ipc_; |
| // Our stream ID on the message filter. Only accessed on the IO thread. |
| // Must only be modified on the IO thread. |