| 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 7a0c1101c1fdfadc9d5d01705a03d4f08a3e8594..daecc813b3738ad9148c551bfdb03efc6df38cbc 100644
|
| --- a/components/history/core/test/history_backend_db_base_test.cc
|
| +++ b/components/history/core/test/history_backend_db_base_test.cc
|
| @@ -117,30 +117,20 @@ void HistoryBackendDBBaseTest::DeleteBackend() {
|
| }
|
|
|
| bool HistoryBackendDBBaseTest::AddDownload(uint32_t id,
|
| + const std::string& guid,
|
| DownloadState state,
|
| base::Time time) {
|
| 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/"),
|
| - "application/vnd.oasis.opendocument.text",
|
| - "application/octet-stream",
|
| - time,
|
| - time,
|
| - std::string(),
|
| - std::string(),
|
| - 0,
|
| - 512,
|
| - state,
|
| - DownloadDangerType::NOT_DANGEROUS,
|
| - kTestDownloadInterruptReasonNone,
|
| - id,
|
| - 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.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);
|
| }
|
|
|
|
|