| 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 26ecf1d8dbb897ecd23cd8627a32ce0deceb4c15..a23975e01ad42f459ffd4f452f0085b34cdbd744 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -1064,6 +1064,14 @@ 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());
|
| }
|
| @@ -1949,7 +1957,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(
|
|
|