diff options
author | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 19:07:40 +0000 |
---|---|---|
committer | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 19:07:40 +0000 |
commit | 1d14ba55e2472ad65b41423a6b8ed13b32dc206d (patch) | |
tree | fcc237d57d7b8ee927afc5d60925911949b05c29 /net | |
parent | fc52c42d72d42558e508f6439e8dfbb9b4ea15d9 (diff) | |
download | chromium_src-1d14ba55e2472ad65b41423a6b8ed13b32dc206d.zip chromium_src-1d14ba55e2472ad65b41423a6b8ed13b32dc206d.tar.gz chromium_src-1d14ba55e2472ad65b41423a6b8ed13b32dc206d.tar.bz2 |
Implement a dispatcher for prerender requests
This CL provides a dispatcher that can feed the prerender system with
HTML type requests that were prefetched.
One thing is missing though: this sends all requests in, and doesn't tag the
origin request. Unfortunately referer information is often tossed out in
resource_dispatcher_host...
Is there a private place it's sent along to for this type of use? I left that
undone right now but I'm open to suggestions about a good way to do it.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4655004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/load_flags_list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/load_flags_list.h b/net/base/load_flags_list.h index a7181f2..4f5460f 100644 --- a/net/base/load_flags_list.h +++ b/net/base/load_flags_list.h @@ -97,3 +97,8 @@ LOAD_FLAG(SUB_FRAME, 1 << 21) // respected if renderer has CanReadRawCookies capability in the security // policy. LOAD_FLAG(REPORT_RAW_HEADERS, 1 << 22) + +// Indicates that this load was motivated by the rel=prefetch feature, +// and is (in theory) not intended for the current frame. +LOAD_FLAG(PREFETCH, 1 << 23) + |