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 0e70ceb46c5c2e4e4336db3db915ae3262f5813f..85a57fdab280de96b4b4db903017bb568e56e751 100644 |
| --- a/media/audio/audio_output_device.h |
| +++ b/media/audio/audio_output_device.h |
| @@ -95,9 +95,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 owner ship of |ipc|. |
|
tommi (sloooow) - chröme
2012/07/31 10:52:41
great.
also, s/owner ship/ownership.
sail
2012/07/31 22:02:08
Done.
|
| AudioOutputDevice(AudioOutputIPC* ipc, |
| const scoped_refptr<base::MessageLoopProxy>& io_loop); |
| @@ -128,7 +126,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. |