Index: content/browser/renderer_host/media/audio_renderer_host.h |
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h |
index f9a650feb792790f51c4ad855481f408a5a9cd9f..118e45f5e62db35b5d30c0ec8cae277b99f9042e 100644 |
--- a/content/browser/renderer_host/media/audio_renderer_host.h |
+++ b/content/browser/renderer_host/media/audio_renderer_host.h |
@@ -90,7 +90,8 @@ class CONTENT_EXPORT AudioRendererHost |
typedef std::map<int, AudioEntry*> AudioEntryMap; |
// Called from UI thread from the owner of this object. |
- AudioRendererHost(media::AudioManager* audio_manager, |
+ AudioRendererHost(int render_process_id, |
+ media::AudioManager* audio_manager, |
content::MediaObserver* media_observer); |
// content::BrowserMessageFilter implementation. |
@@ -122,7 +123,9 @@ class CONTENT_EXPORT AudioRendererHost |
// Creates an audio output stream with the specified format. If this call is |
// successful this object would keep an internal entry of the stream for the |
// required properties. |
- void OnCreateStream(int stream_id, const media::AudioParameters& params); |
+ void OnCreateStream(int render_view_id, |
+ int stream_id, |
+ const media::AudioParameters& params); |
// Play the audio stream referenced by |stream_id|. |
void OnPlayStream(int stream_id); |
@@ -176,6 +179,8 @@ class CONTENT_EXPORT AudioRendererHost |
// event is received. |
AudioEntry* LookupByController(media::AudioOutputController* controller); |
+ int render_process_id_; |
+ |
// A map of stream IDs to audio sources. |
AudioEntryMap audio_entries_; |