DescriptionImplement registration job ordering
To handle the case of multiple registration requests coming in at the same time,
the ServiceWorkerJobCoordinator now keeps a queue of registration events for each pattern.
When a new registration request comes in for a pattern, it looks to see if the most recent request (at the back of the queue) is identical, and if so, piggy-backs on that request rather than creating a new one.
BUG=285976
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243999
Patch Set 1 #Patch Set 2 : Fix tiny obvious bugs + add 1 test #Patch Set 3 : Add a bunch of tests #Patch Set 4 : Fix comments in tests #
Total comments: 16
Patch Set 5 : Address minor comments (all but JobQueue) #Patch Set 6 : Implement JobQueue #Patch Set 7 : Simplify callbacks #Patch Set 8 : Eliminate running_ #
Total comments: 14
Patch Set 9 : Address review comments #
Messages
Total messages: 11 (0 generated)
|