DescriptionTeach navigation throttles how to cancel requests in WillProcessResponse.
This is the first step towards moving various response-time checks up
from Blink into the browser. To support things like 'X-Frame-Options',
we'll need to do throttle checks after we can evaluate headers. This
patch starts us down that path by teaching NavigationHandleImpl,
NavigationResourceThrottle, and NavigationThrottle about response-time
checks. This patch shouldn't introduce any behavioral changes, as no
NavigationThrottle actually uses the new functionality yet.
We'll start using the new functionality with the patch at
https://codereview.chromium.org/1617043002.
BUG=555418, 574997
TBR=palmer@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
------------------------------------------------------------------------
This will be a re-land of the patch from
https://crrev.com/409b51d438ea3f99d37025372adaf4d730553857
which was reverted due to timeouts in the Windows builder.
------------------------------------------------------------------------
Committed: https://crrev.com/59145851ada35fbf11d3cc39b4f98d462afdca60
Cr-Commit-Position: refs/heads/master@{#373557}
Patch Set 1 #Patch Set 2 : split #
Total comments: 1
Patch Set 3 : Disable the test on WIN. #
Messages
Total messages: 19 (10 generated)
|