Throttle transfer size updates and relax when it was reported
Currently transfer size updates are reported only when report_raw_headers is set. This CL relaxes that requirement and checks if either report_raw_headers is set (to work with devtools) or the renderer has permission to read the resource. This CL also throttles the transfer size updates to be reported only once per 500 ms per resource. Bug: 836029 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I7e34a0b0c5fad7e424772c075041c0609dc1b365 Reviewed-on: https://chromium-review.googlesource.com/1050814 Commit-Queue: rajendrant <rajendrant@chromium.org> Reviewed-by:Tom Sepez <tsepez@chromium.org> Reviewed-by:
Charlie Harrison <csharrison@chromium.org> Reviewed-by:
Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#572064}
Showing
Please register or sign in to comment