S13nServiceWorker: Implement a timer for long standing events
This CL implements long standing event timer on the renderer. Events dispatched to the service worker will be aborted in ServiceWorkerEventTimer::kEventTimeout. ServiceWorkerEventTimer needs to track each event individually, so the event timer issues an unique id to each event. For that reason, all of IDMaps used for keeping the event callbacks are replaced to std::map. Design doc: bit.ly/sw-timers-on-renderer Bug: 774374 Change-Id: I77f8c9cd01e1e02ff856306c42de298eebf318ca Reviewed-on: https://chromium-review.googlesource.com/760083Reviewed-by:Tsuyoshi Horo <horo@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#519593}
Showing
This diff is collapsed.
Please register or sign in to comment