Index: content/browser/loader/resource_dispatcher_host_impl.h |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h |
index 1b0b19ff24aa8272e0830ecc0aea9648a9ee48eb..b4548badd1cc14dc6af7557853f3fbf6cae4fcdb 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.h |
+++ b/content/browser/loader/resource_dispatcher_host_impl.h |
@@ -165,7 +165,10 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
} |
// Called when a RenderViewHost is created. |
- void OnRenderViewHostCreated(int child_id, int route_id, bool is_visible); |
+ void OnRenderViewHostCreated(int child_id, |
+ int route_id, |
+ bool is_visible, |
+ bool is_audible); |
// Called when a RenderViewHost is deleted. |
void OnRenderViewHostDeleted(int child_id, int route_id); |
@@ -181,6 +184,11 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
// Called when a RenderViewHost is shown. |
void OnRenderViewHostWasShown(int child_id, int route_id); |
+ // Called when an AudioRenderHost starts or stops playing. |
+ void OnAudioRenderHostStreamStateChanged(int child_id, |
+ int route_id, |
+ bool is_playing); |
+ |
// Force cancels any pending requests for the given process. |
void CancelRequestsForProcess(int child_id); |