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

Unified Diff: content/public/browser/download_url_parameters.cc

Issue 10381122: Add flag to specify if explicitly requested download is from web. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR and integrated into DownloadUrlParams. Created 8 years, 7 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 | « content/public/browser/download_url_parameters.h ('k') | content/public/browser/resource_dispatcher_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_url_parameters.cc
diff --git a/content/public/browser/download_url_parameters.cc b/content/public/browser/download_url_parameters.cc
index 64102fa9b82456c07f12aa7cbe2c363a6a0f2778..bff885aa0acae777d3f30d61625c07d1ee493c5b 100644
--- a/content/public/browser/download_url_parameters.cc
+++ b/content/public/browser/download_url_parameters.cc
@@ -21,16 +21,17 @@ DownloadUrlParameters::DownloadUrlParameters(
int render_view_host_routing_id,
ResourceContext* resource_context,
const DownloadSaveInfo& save_info)
- : load_flags_(0),
- method_("GET"),
- post_id_(-1),
- prefer_cache_(false),
- render_process_host_id_(render_process_host_id),
- render_view_host_routing_id_(render_view_host_routing_id),
- resource_context_(resource_context),
- resource_dispatcher_host_(ResourceDispatcherHost::Get()),
- save_info_(save_info),
- url_(url) {
+ : content_initiated_(false),
+ load_flags_(0),
+ method_("GET"),
+ post_id_(-1),
+ prefer_cache_(false),
+ render_process_host_id_(render_process_host_id),
+ render_view_host_routing_id_(render_view_host_routing_id),
+ resource_context_(resource_context),
+ resource_dispatcher_host_(ResourceDispatcherHost::Get()),
+ save_info_(save_info),
+ url_(url) {
DCHECK(resource_dispatcher_host_);
}
« no previous file with comments | « content/public/browser/download_url_parameters.h ('k') | content/public/browser/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698