| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index 7b09885c9f353f06f9c4158acf0ada39e32c0240..1e4ace37c6308db8acb9c4485d08b65408b55c02 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -1350,11 +1350,11 @@ ResourceRequestInfoImpl* ResourceDispatcherHostImpl::CreateRequestInfo(
|
| true); // is_async
|
| }
|
|
|
| -void ResourceDispatcherHostImpl::OnRenderViewHostCreated(
|
| - int child_id,
|
| - int route_id,
|
| - bool is_visible) {
|
| - scheduler_->OnClientCreated(child_id, route_id, is_visible);
|
| +void ResourceDispatcherHostImpl::OnRenderViewHostCreated(int child_id,
|
| + int route_id,
|
| + bool is_visible,
|
| + bool is_audible) {
|
| + scheduler_->OnClientCreated(child_id, route_id, is_visible, is_audible);
|
| }
|
|
|
| void ResourceDispatcherHostImpl::OnRenderViewHostDeleted(
|
| @@ -1382,6 +1382,13 @@ void ResourceDispatcherHostImpl::OnRenderViewHostWasShown(
|
| scheduler_->OnVisibilityChanged(child_id, route_id, true);
|
| }
|
|
|
| +void ResourceDispatcherHostImpl::OnAudioRenderHostStreamStateChanged(
|
| + int child_id,
|
| + int route_id,
|
| + bool is_playing) {
|
| + scheduler_->OnAudibilityChanged(child_id, route_id, is_playing);
|
| +}
|
| +
|
| // This function is only used for saving feature.
|
| void ResourceDispatcherHostImpl::BeginSaveFile(
|
| const GURL& url,
|
|
|