Chromium Code Reviews| 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 de3c2d85ae44909773f54b30687d39c02f461b1f..d74c588b9e9b8ca2ec04e8a2051166e814da32df 100644 |
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc |
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
| @@ -1174,6 +1174,19 @@ void ResourceDispatcherHostImpl::OnDidLoadResourceFromMemoryCache( |
| GetCache()->OnExternalCacheHit(url, http_method); |
| } |
| +void ResourceDispatcherHostImpl::OnRenderViewHostCreated( |
| + int child_id, |
| + int route_id) { |
| + scheduler_->OnClientCreated(child_id, route_id); |
| +} |
| + |
| +void ResourceDispatcherHostImpl::OnRenderViewHostDeleted( |
| + int child_id, |
| + int route_id) { |
| + CancelRequestsForRoute(child_id, route_id); |
|
darin (slow to review)
2013/03/15 23:59:25
Perhaps it would be better to call CancelRequestsF
|
| + scheduler_->OnClientDeleted(child_id, route_id); |
| +} |
| + |
| // This function is only used for saving feature. |
| void ResourceDispatcherHostImpl::BeginSaveFile( |
| const GURL& url, |