Add LOAD_PREFETCH flag for all requests sent by resource prefetcher
commit42c496ddef40221858df3df41dc7ef8105a82af3
authorzhenw <zhenw@chromium.org>
Mon, 9 Feb 2015 20:13:21 +0000 (9 12:13 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Feb 2015 20:13:47 +0000 (9 20:13 +0000)
tree3521aab88cbf532e31c7b5e4d1a47d79be74c51b
parent68e0874d5227b29faf5ee1b2aa68f4bda25ed73f
Add LOAD_PREFETCH flag for all requests sent by resource prefetcher

1. This allows other constraints about prefetched resources to be applied.
2. Together with another CL https://codereview.chromium.org/793823002/, the prefetched resources can temporarily bypass revalidation.

BUG=405690, 406209

Review URL: https://codereview.chromium.org/891343007

Cr-Commit-Position: refs/heads/master@{#315369}
chrome/browser/predictors/resource_prefetcher.cc
chrome/browser/predictors/resource_prefetcher_unittest.cc