DescriptionAdded ServiceWorkerResponses to GetJobResponse callback
This CL does two things. First, it creates the ServiceWorkerRepsonse
objects corresponding to each RequestInfo structure and fills out partial
data there.
Second, it removes the asynchronous calls to build each file backed blob
in favor of a single call which inititalizes the blob storage context. A
future CL will move that initialization into the BackgroundFetchContext
so that the DataManager doesn't need to know about the BrowserContext.
Also added unit tests for the response.
BUG=692621
Review-Url: https://codereview.chromium.org/2774263003
Cr-Commit-Position: refs/heads/master@{#459813}
Committed: https://chromium.googlesource.com/chromium/src/+/1aa34de9d58f09594f907e6aff43ca07c798164d
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : Rebase to pull in BackgroundFetchRegistrationId patch #
Total comments: 9
Patch Set 4 : DCHECK and removed copy #Patch Set 5 : Move PostTask to correct thread #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 19 (12 generated)
|