Chromium Code Reviews
DescriptionImplement the new polling system in the BackgroundFetchJobController
This CL changes how the BackgroundFetchJobController interacts with the
requests that have to be made. It'll be given a sequence of requests when
starting a fetch -currently set to a single request-, will fetch them
and will then get the next request from the BackgroundFetchDataManager
once completed.
This significantly simplifies the state we have to maintain, since it
only knows about the in-progress requests, deferring knowledge of which
requests are pending to the DataManager. The tests have been updated to
match this.
In effect, Background Fetch requests made by the developer will now
actually (sequentially) fetch the files. We still have to feed them
back to the developer once all fetches have been completed.
BUG=692540
Review-Url: https://codereview.chromium.org/2782553007
Cr-Commit-Position: refs/heads/master@{#460605}
Committed: https://chromium.googlesource.com/chromium/src/+/44302d356149f11edfd1e1708e4c171ee073f436
Patch Set 1 #
Total comments: 19
Patch Set 2 : Implement the new polling system in the BFJobController #Patch Set 3 : Implement the new polling system in the BFJobController #Patch Set 4 : Implement the new polling system in the BFJobController #Patch Set 5 : Implement the new polling system in the BFJobController #Messages
Total messages: 40 (26 generated)
|