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

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api_browsertest.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/extensions/api/downloads/downloads_api_browsertest.cc
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
index b0055284beb381b16bcab4e89c5511dfa598bfdb..7a5bd3d1beac04ca0bbb708925228dccc414a8d8 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
+++ b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
@@ -434,6 +434,7 @@ class DownloadExtensionTest : public ExtensionApiTest {
current, current, // start_time, end_time
std::string(), std::string(), // etag, last_modified
1, 1, // received_bytes, total_bytes
+ std::string(), // hash
history_info[i].state, // state
history_info[i].danger_type,
(history_info[i].state != content::DownloadItem::CANCELLED

Powered by Google App Engine
This is Rietveld 408576698