Index: content/renderer/service_worker/service_worker_context_client.cc |
diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc |
index c0a84c003960a4849374c40602105ff8f23181ae..9119c5712fa26e496dbd9bdc301a726f474231e4 100644 |
--- a/content/renderer/service_worker/service_worker_context_client.cc |
+++ b/content/renderer/service_worker/service_worker_context_client.cc |
@@ -734,12 +734,14 @@ void ServiceWorkerContextClient::OnFetchEvent( |
blink::WebString::fromUTF8(request.referrer.url.spec()), |
request.referrer.policy); |
webRequest.setMode(GetBlinkFetchRequestMode(request.mode)); |
+ webRequest.setIsMainResourceLoad(request.is_main_resource_load); |
webRequest.setCredentialsMode( |
GetBlinkFetchCredentialsMode(request.credentials_mode)); |
webRequest.setRedirectMode(GetBlinkFetchRedirectMode(request.redirect_mode)); |
webRequest.setRequestContext( |
GetBlinkRequestContext(request.request_context_type)); |
webRequest.setFrameType(GetBlinkFrameType(request.frame_type)); |
+ webRequest.setClientId(blink::WebString::fromUTF8(request.client_id)); |
webRequest.setIsReload(request.is_reload); |
proxy_->dispatchFetchEvent(request_id, webRequest); |
} |