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 38317ef8094fbe59d6200f16115d59fcda5e51fe..9f1192880ff98fb6f0bec8d96e617f13511e0047 100644 |
--- a/content/browser/renderer_host/media/audio_renderer_host.h |
+++ b/content/browser/renderer_host/media/audio_renderer_host.h |
@@ -157,6 +157,10 @@ class CONTENT_EXPORT AudioRendererHost : public BrowserMessageFilter { |
// Returns NULL if not found. |
AudioEntry* LookupById(int stream_id); |
+ // A helper method to update the number of playing streams and alert the |
+ // ResourceScheduler when the renderer starts or stops playing an audiostream. |
+ void UpdateNumPlayingStreams(AudioEntry* entry, bool is_playing); |
+ |
// ID of the RenderProcessHost that owns this instance. |
const int render_process_id_; |