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

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

Issue 10069014: Save Page As MHTML (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -osall, extract_actions.py Created 8 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
Index: content/browser/download/download_item_impl.cc
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc
index 1281e7a1ffa6298e99ea1c34b278b05258c3129a..aef42e4a182829688aaba5dff0b466e9042f2eb8 100644
--- a/content/browser/download/download_item_impl.cc
+++ b/content/browser/download/download_item_impl.cc
@@ -265,12 +265,15 @@ DownloadItemImpl::DownloadItemImpl(Delegate* delegate,
const GURL& url,
bool is_otr,
DownloadId download_id,
+ const std::string& mime_type,
const net::BoundNetLog& bound_net_log)
: request_handle_(new NullDownloadRequestHandle()),
download_id_(download_id),
full_path_(path),
url_chain_(1, url),
referrer_url_(GURL()),
+ mime_type_(mime_type),
+ original_mime_type_(mime_type),
total_bytes_(0),
received_bytes_(0),
bytes_per_sec_(0),

Powered by Google App Engine
This is Rietveld 408576698