diff options
author | dominich@google.com <dominich@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 21:21:10 +0000 |
---|---|---|
committer | dominich@google.com <dominich@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 21:21:10 +0000 |
commit | b5f9845372bb2496aa6f6bd694e2ba4dc9523bde (patch) | |
tree | 34cf7b63d18321f7e73219ee392d6df7cc2fac5a /net | |
parent | 43250c7bc9096609ca89af72153c9a6c0a4d53e2 (diff) | |
download | chromium_src-b5f9845372bb2496aa6f6bd694e2ba4dc9523bde.zip chromium_src-b5f9845372bb2496aa6f6bd694e2ba4dc9523bde.tar.gz chromium_src-b5f9845372bb2496aa6f6bd694e2ba4dc9523bde.tar.bz2 |
Add set of prerendering RenderViewHosts to allow setting of PRERENDER load flag in browser.
Conflicts:
chrome/browser/prerender/prerender_contents.cc
chrome/browser/prerender/prerender_manager.cc
BUG=72519, 70957
TEST=Create two html pages A and B with A containing a link rel="prefetch" to B. Enable prerender and navigate to A. Observe that the request for B and all requests from B correctly have the LOAD_PRERENDER load flag set.
Review URL: http://codereview.chromium.org/6588071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/load_flags_list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/load_flags_list.h b/net/base/load_flags_list.h index 1e5b281..25f6131 100644 --- a/net/base/load_flags_list.h +++ b/net/base/load_flags_list.h @@ -102,3 +102,6 @@ LOAD_FLAG(REPORT_RAW_HEADERS, 1 << 22) // and is (in theory) not intended for the current frame. LOAD_FLAG(PREFETCH, 1 << 23) +// Indicates that this load was requested by a page that is currently +// prerendering. +LOAD_FLAG(PRERENDER, 1 << 24) |