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 604e38cf3e523e5367ad5448e5e8833a38f0c5bc..ece2d79f602f45266744102420cbac06d743869a 100644 |
--- a/components/history/core/test/history_backend_db_base_test.cc |
+++ b/components/history/core/test/history_backend_db_base_test.cc |
@@ -123,28 +123,15 @@ bool HistoryBackendDBBaseTest::AddDownload(uint32_t id, |
std::vector<GURL> url_chain; |
url_chain.push_back(GURL("foo-url")); |
- DownloadRow download(base::FilePath(FILE_PATH_LITERAL("current-path")), |
- base::FilePath(FILE_PATH_LITERAL("target-path")), |
- url_chain, |
- GURL("http://referrer.com/"), |
- std::string(), |
- "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, |
- "by_ext_id", |
- "by_ext_name"); |
+ DownloadRow download( |
+ base::FilePath(FILE_PATH_LITERAL("current-path")), |
+ base::FilePath(FILE_PATH_LITERAL("target-path")), url_chain, |
+ GURL("http://referrer.example.com/"), GURL("http://tab-url.example.com/"), |
+ GURL("http://tab-referrer-url.example.com/"), std::string(), |
+ "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, "by_ext_id", "by_ext_name"); |
return db_->CreateDownload(download); |
} |