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

Unified Diff: components/history/core/test/history_backend_db_base_test.cc

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: fix tests Created 3 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: components/history/core/test/history_backend_db_base_test.cc
diff --git a/components/history/core/test/history_backend_db_base_test.cc b/components/history/core/test/history_backend_db_base_test.cc
index 8feac3aca34555d471e2e2e5e7a0fbbdf453f690..8a04b25c6a12161416ddcefb3e1c558812ec9768 100644
--- a/components/history/core/test/history_backend_db_base_test.cc
+++ b/components/history/core/test/history_backend_db_base_test.cc
@@ -135,7 +135,7 @@ bool HistoryBackendDBBaseTest::AddDownload(uint32_t id,
"application/vnd.oasis.opendocument.text", "application/octet-stream",
time, time, std::string(), std::string(), 0, 512, state,
DownloadDangerType::NOT_DANGEROUS, kTestDownloadInterruptReasonNone,
- std::string(), id, guid, false, time, "by_ext_id", "by_ext_name",
+ std::string(), id, guid, false, time, true, "by_ext_id", "by_ext_name",
std::vector<DownloadSliceInfo>());
return db_->CreateDownload(download);
}
« no previous file with comments | « components/history/core/browser/history_database.cc ('k') | content/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698