Chromium Code Reviews
Descriptionpredictors: Call StopPrefetching with an url before redirect.
It was wrong to use main_frame_url as a parameter for StopPrefetching because
if we have a redirect, StartPrefetching is called with initial_url and
prefetcher manager knows nothing about further redirects. The easiest way to fix
it is to keep using initial_url in all calls to prefetcher manager.
Additionaly, this CL adds a report to prefetch duration histogram in case if we
evict inflight prefetch by timeout.
BUG=631966
Review-Url: https://codereview.chromium.org/2716373002
Cr-Commit-Position: refs/heads/master@{#453605}
Committed: https://chromium.googlesource.com/chromium/src/+/1e620aa2262f96a9cad722d7e5a9266a218ae279
Patch Set 1 #
Total comments: 7
Patch Set 2 : Fix nit #2. #
Messages
Total messages: 11 (5 generated)
|
|||||||||||||||||||||||||||||||||||||