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

Unified Diff: chrome/browser/download/download_history_unittest.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: Created 4 years, 10 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: chrome/browser/download/download_history_unittest.cc
diff --git a/chrome/browser/download/download_history_unittest.cc b/chrome/browser/download/download_history_unittest.cc
index 765588a8ddf463a4ef4114081c9c7ee5d8dc5a85..e10ffcbf5c3d253d1f0028c7eaf16ac57a81f702 100644
--- a/chrome/browser/download/download_history_unittest.cc
+++ b/chrome/browser/download/download_history_unittest.cc
@@ -236,19 +236,10 @@ class DownloadHistoryTest : public testing::Test {
for (size_t index = 0; index < infos->size(); ++index) {
const history::DownloadRow& row = infos->at(index);
content::MockDownloadManager::CreateDownloadItemAdapter adapter(
- history::ToContentDownloadId(row.id),
- row.current_path,
- row.target_path,
- row.url_chain,
- row.referrer_url,
- row.mime_type,
- row.original_mime_type,
- row.start_time,
- row.end_time,
- row.etag,
- row.last_modified,
- row.received_bytes,
- row.total_bytes,
+ history::ToContentDownloadId(row.id), row.current_path,
svaldez 2016/03/09 19:27:33 nit: Might want to revert format.
asanka 2016/03/10 16:48:08 git cl format :-/
+ row.target_path, row.url_chain, row.referrer_url, row.mime_type,
+ row.original_mime_type, row.start_time, row.end_time, row.etag,
+ row.last_modified, row.received_bytes, row.total_bytes, std::string(),
history::ToContentDownloadState(row.state),
history::ToContentDownloadDangerType(row.danger_type),
history::ToContentDownloadInterruptReason(row.interrupt_reason),

Powered by Google App Engine
This is Rietveld 408576698