Sends the blob uuid of the request body to the ServiceWorker.
This changes the followings: - ResourceDispatcherHostImpl passes the reference of ResourceRequestBody to ServiceWorkerControlleeRequestHandler via ServiceWorkerProviderHost. - ServiceWorkerControlleeRequestHandler keeps the reference of ResourceRequestBody and pass it to ServiceWorkerURLRequestJob when MaybeCreateJob() is called. - ServiceWorkerURLRequestJob keeps the reference of ResourceRequestBody and creates BlobDataHandle and ServiceWorkerFetchRequest from URLRequest and ResourceRequestBody when StartRequest() is called. - ServiceWorkerURLRequestJob passes the ServiceWorkerFetchRequest to ServiceWorkerFetchDispatcher in StartRequest() and ServiceWorkerVersion will send the blob uuid and the size of the blob using IPC to the renederer process. - BlobDataHandle is kept during the lifetime of ServiceWorkerURLRequestJob. - In the ServiceWorker side, WebServiceWorkerRequest::setBlob() will be called with the blob uuid and the size of the blob. WebServiceWorkerRequest::setBlob() is introduced in https://codereview.chromium.org/483603003/ This cl depends on https://codereview.chromium.org/483603003/ and https://codereview.chromium.org/483613004/ . BUG=402387 Review URL: https://codereview.chromium.org/475333002 Cr-Commit-Position: refs/heads/master@{#290795} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290795 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment