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

Unified Diff: media/audio/audio_output_device.h

Issue 11166002: Plumb render view ID from audio-related code in renderer through IPCs to AudioRendererHost in brows… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 8 years, 2 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: media/audio/audio_output_device.h
diff --git a/media/audio/audio_output_device.h b/media/audio/audio_output_device.h
index fe4459cc5018d411041b39c49a3e4f35a90187e6..f30bebf435b3b51d2198b2ec891394fc170914af 100644
--- a/media/audio/audio_output_device.h
+++ b/media/audio/audio_output_device.h
@@ -99,9 +99,7 @@ class MEDIA_EXPORT AudioOutputDevice
// 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.
- AudioOutputDevice(AudioOutputIPC* ipc,
+ AudioOutputDevice(scoped_ptr<AudioOutputIPC> ipc,
const scoped_refptr<base::MessageLoopProxy>& io_loop);
protected:
@@ -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.

Powered by Google App Engine
This is Rietveld 408576698