Chromium Code Reviews| 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 11bc13f3900fb2540385b2c7f12149b005fa3793..21581dcc8b5bf9ca7a6525cb084473eacf9a558a 100644 |
| --- a/content/browser/renderer_host/media/audio_renderer_host.h |
| +++ b/content/browser/renderer_host/media/audio_renderer_host.h |
| @@ -48,7 +48,7 @@ |
| #include "content/common/content_export.h" |
| #include "content/public/browser/browser_message_filter.h" |
| #include "content/public/browser/browser_thread.h" |
| -#include "content/public/browser/render_view_host.h" |
| +#include "content/public/browser/render_process_host.h" |
| #include "media/audio/audio_io.h" |
| #include "media/audio/audio_logging.h" |
| #include "media/audio/audio_output_controller.h" |
| @@ -77,8 +77,8 @@ class CONTENT_EXPORT AudioRendererHost : public BrowserMessageFilter { |
| // Calls |callback| with the list of AudioOutputControllers for this object. |
| void GetOutputControllers( |
| - int render_view_id, |
| - const RenderViewHost::GetAudioOutputControllersCallback& callback) const; |
| + const RenderProcessHost::GetAudioOutputControllersCallback& callback) |
| + const; |
|
jam
2015/01/29 00:19:04
nit: this looks odd to start a line with "const".
|
| // BrowserMessageFilter implementation. |
| void OnChannelClosing() override; |
| @@ -144,8 +144,7 @@ class CONTENT_EXPORT AudioRendererHost : public BrowserMessageFilter { |
| // Send playing/paused status to the renderer. |
| void DoNotifyStreamStateChanged(int stream_id, bool is_playing); |
| - RenderViewHost::AudioOutputControllerList DoGetOutputControllers( |
| - int render_view_id) const; |
| + RenderProcessHost::AudioOutputControllerList DoGetOutputControllers() const; |
| // Send an error message to the renderer. |
| void SendErrorMessage(int stream_id); |