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 6d1aaddae129b7cb288759ba2c16cb28f1e989af..9f0c7288d6745039421a674ae4ebe3784a503fed 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -1082,6 +1082,13 @@ void ResourceDispatcherHostImpl::UpdateRequestForTransfer( |
child_id, |
request_data.appcache_host_id); |
+ ServiceWorkerRequestHandler* handler = |
+ ServiceWorkerRequestHandler::GetHandler(loader->request()); |
+ if (handler) { |
+ handler->CompleteCrossSiteTransfer( |
+ child_id, request_data.service_worker_provider_id); |
+ } |
+ |
// We should have a CrossSiteResourceHandler to finish the transfer. |
DCHECK(info->cross_site_handler()); |
} |
@@ -1974,7 +1981,7 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest( |
} |
// TODO(davidben): Attach ServiceWorkerRequestHandler. |
- |
+ // TODO(michaeln): Help out with this and that. |
// TODO(davidben): Attach AppCacheInterceptor. |
scoped_ptr<ResourceHandler> handler(new NavigationResourceHandler( |