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

Unified Diff: content/renderer/media/audio_device_factory.h

Issue 10836025: Part 1: Plumb render view ID to render host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 5 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: content/renderer/media/audio_device_factory.h
diff --git a/content/renderer/media/audio_device_factory.h b/content/renderer/media/audio_device_factory.h
index e95e487e88a95acc4f97077ac84206cd864d7c2f..397ba3484b81407b3764301ecb3e75acbde492d2 100644
--- a/content/renderer/media/audio_device_factory.h
+++ b/content/renderer/media/audio_device_factory.h
@@ -23,7 +23,8 @@ class CONTENT_EXPORT AudioDeviceFactory {
// Creates an AudioRendererSink using the currently registered factory,
// or the default one if no factory is registered. Ownership of the returned
// pointer will be passed to the caller.
- static media::AudioRendererSink* NewOutputDevice();
+ static media::AudioRendererSink* NewOutputDevice(
+ int render_view_id);
// TODO(henrika): Update AudioInputDevice to inherit from an interface
// similar to AudioRendererSink, but for input. Same for the callback
@@ -38,7 +39,7 @@ class CONTENT_EXPORT AudioDeviceFactory {
// functions to provide alternate audio device implementations.
// If the return value of either of these function is NULL, we fall back
// on the default implementation.
- virtual media::AudioRendererSink* CreateOutputDevice() = 0;
+ virtual media::AudioRendererSink* CreateOutputDevice(int render_view_id) = 0;
virtual media::AudioInputDevice* CreateInputDevice() = 0;
private:

Powered by Google App Engine
This is Rietveld 408576698