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

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

Issue 1751603002: [Downloads] Rework how hashes are calculated for download files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to appease MSVC Created 4 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/public/browser/download_save_info.cc
diff --git a/content/public/browser/download_save_info.cc b/content/public/browser/download_save_info.cc
index 3093ee6844570c5f6a82a056391272b61ccd1aaa..e4208411cc6c41a80841a5b51b44138f645f67d1 100644
--- a/content/public/browser/download_save_info.cc
+++ b/content/public/browser/download_save_info.cc
@@ -13,4 +13,13 @@ DownloadSaveInfo::DownloadSaveInfo()
DownloadSaveInfo::~DownloadSaveInfo() {
}
+DownloadSaveInfo::DownloadSaveInfo(DownloadSaveInfo&& that)
+ : file_path(std::move(that.file_path)),
+ suggested_name(std::move(that.suggested_name)),
+ file(std::move(that.file)),
+ offset(that.offset),
+ hash_state(std::move(that.hash_state)),
+ prefix_hash(std::move(that.prefix_hash)),
+ prompt_for_save_location(that.prompt_for_save_location) {}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698