Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: chrome/renderer/render_view.cc

Issue 6542016: Add LOAD_PRERENDER to prerender motivated load requests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: upload to match latest webkit patch Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/load_flags_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index a684653fd03860026210ad3462ec490163cdc5aa..2882d55acd8e136689ac919adeb3ceccf9e8498a 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -3618,6 +3618,7 @@ void RenderView::willSendRequest(
request.setRequestorID(routing_id_);
request.setHasUserGesture(frame->isProcessingUserGesture());
+ request.setForPrerendering(is_prerendering_);
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoReferrers))
request.clearHTTPHeaderField("Referer");
« no previous file with comments | « no previous file | net/base/load_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698