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

Unified Diff: chrome/browser/renderer_host/resource_dispatcher_host.cc

Issue 62111: Give the filter setup more context so it can figure out whether it's download... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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/filter.h » ('j') | net/url_request/url_request_job.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_dispatcher_host.cc
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host.cc (revision 13526)
+++ chrome/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -524,6 +524,8 @@
request->set_method("GET");
request->set_referrer(referrer.spec());
request->set_context(request_context);
+ request->set_load_flags(request->load_flags() |
+ net::LOAD_IS_DOWNLOAD);
ExtraRequestInfo* extra_info =
new ExtraRequestInfo(handler,
« no previous file with comments | « no previous file | net/base/filter.h » ('j') | net/url_request/url_request_job.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698