diff options
author | horo@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-20 09:27:41 +0000 |
---|---|---|
committer | horo@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-20 09:29:34 +0000 |
commit | b6f801cc56e0baa1436816b549617e9b3a9eeb71 (patch) | |
tree | f4727f998ed9417d0bb1739b3c228de1954ba38b /extensions/DEPS | |
parent | 6ab34cff3742cddbc54b5c21b6fb7b5cc2c9978d (diff) | |
download | chromium_src-b6f801cc56e0baa1436816b549617e9b3a9eeb71.zip chromium_src-b6f801cc56e0baa1436816b549617e9b3a9eeb71.tar.gz chromium_src-b6f801cc56e0baa1436816b549617e9b3a9eeb71.tar.bz2 |
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
Diffstat (limited to 'extensions/DEPS')
0 files changed, 0 insertions, 0 deletions