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 7b0bd8964d5991fba14fa62fb519de9e7a3afbaf..60e067a56373f64a6f14042a98467946d80cccb4 100644 |
--- a/content/renderer/service_worker/service_worker_context_client.cc |
+++ b/content/renderer/service_worker/service_worker_context_client.cc |
@@ -733,12 +733,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); |
} |