[DevTools] Emit Network.*ExtraInfo events for service workers
This patch emits ExtraInfo events for service worker main and subresource requests by setting the render_frame_id of all network::ResourceRequests made by service workers from -2 to a routing id for DevTools which is already sent from the browser process to the renderer process when creating a service worker. Setting the render_frame_id allows us to identify which service worker a request came from in the browser process through NetworkServiceClient. Bug: 991471 Change-Id: I8031644c10cba177917e5b6bc25e4ada088d95cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746204 Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Andrey Kosyakov <caseq@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#700871}
Showing
Please register or sign in to comment