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

Unified Diff: content/browser/download/download_create_info.cc

Issue 148133007: [Downloads] Always call DM::StartDownload() for explicit downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: content/browser/download/download_create_info.cc
diff --git a/content/browser/download/download_create_info.cc b/content/browser/download/download_create_info.cc
index e381fa854bd79491433611918e306ce72cb61ad7..ed66a1f30ce591ea55b8f592f7787480c3c974c1 100644
--- a/content/browser/download/download_create_info.cc
+++ b/content/browser/download/download_create_info.cc
@@ -23,6 +23,7 @@ DownloadCreateInfo::DownloadCreateInfo(const base::Time& start_time,
has_user_gesture(has_user_gesture),
transition_type(transition_type),
save_info(save_info.Pass()),
+ interrupt_reason(DOWNLOAD_INTERRUPT_REASON_NONE),
request_bound_net_log(bound_net_log) {}
DownloadCreateInfo::DownloadCreateInfo()
@@ -30,7 +31,8 @@ DownloadCreateInfo::DownloadCreateInfo()
download_id(DownloadItem::kInvalidId),
has_user_gesture(false),
transition_type(PAGE_TRANSITION_LINK),
- save_info(new DownloadSaveInfo()) {
+ save_info(new DownloadSaveInfo()),
+ interrupt_reason(DOWNLOAD_INTERRUPT_REASON_NONE) {
}
DownloadCreateInfo::~DownloadCreateInfo() {

Powered by Google App Engine
This is Rietveld 408576698