Description[ServiceWorker] Plumbing the request mode from the renderer to the ServiceWorker. [2/2 chromium]
[1/2] blink: https://codereview.chromium.org/587213003/
[2/2] chromium: https://codereview.chromium.org/588153002/
This value is passed from the renederer to the ServiceWorker in the following steps.
In the renederer process:
blink::ResourceRequest::setFetchRequestMode()
blink::ResourceRequest::m_fetchRequestMode
content::WebURLLoaderImpl::Context::Start()
blink::WebURLRequest::fetchRequestMode()
GetFetchRequestMode()
conetnt::RequestInfo::service_worker_request_mode
In the browser process:
conetnt::RequestInfo::service_worker_request_mode
content::ResourceDispatcherHostImpl::BeginRequest()
content::ServiceWorkerRequestHandler::InitializeHandler()
content::ServiceWorkerProviderHost::CreateRequestHandler()
content::ServiceWorkerControlleeRequestHandler::ServiceWorkerControlleeRequestHandler()
content::ServiceWorkerControlleeRequestHandler::request_mode_
content::ServiceWorkerControlleeRequestHandler::MaybeCreateJob()
content::ServiceWorkerURLRequestJob::ServiceWorkerURLRequestJob()
content::ServiceWorkerURLRequestJob::request_mode_
content::ServiceWorkerURLRequestJob::CreateFetchRequest()
content::ServiceWorkerFetchRequest::mode
In the ServiceWorker process:
content::ServiceWorkerFetchRequest::mode
content::ServiceWorkerScriptContext::OnFetchEvent()
GetBlinkFetchRequestMode()
blink::WebServiceWorkerRequest::setMode()
blink::WebServiceWorkerRequest::WebServiceWorkerRequestPrivate::m_mode
blink::ServiceWorkerGlobalScopeProxy::dispatchFetchEvent()
blilnk::RespondWithObserver::create()
blilnk::RespondWithObserver::m_requestMode
blink::WebServiceWorkerRequest::WebServiceWorkerRequestPrivate::m_mode
blink::Request::create()
blink::FetchRequestData::create()
blink::FetchRequestData::m_mode
BUG=416371, 408507
Committed: https://crrev.com/7e40ec77f7b300c82c722b9927c5268ddc258294
Cr-Commit-Position: refs/heads/master@{#297391}
Patch Set 1 : #Patch Set 2 : incorporated yhirano's comment in https://codereview.chromium.org/587213003/ #Patch Set 3 : rebse #Patch Set 4 : rebase #
Total comments: 2
Patch Set 5 : Use COMPILE_ASSERT_MATCHING_ENUMS #Patch Set 6 : rebase #Patch Set 7 : fix compile error on enum #Patch Set 8 : fix compile error #Messages
Total messages: 35 (17 generated)
|