| Index: chrome/browser/history/history_unittest.cc
|
| diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc
|
| index def4f405acb051077c4893e2b8d8ff13760d59a1..9b0e4190d9a1859ac6925620af24e84651d5d276 100644
|
| --- a/chrome/browser/history/history_unittest.cc
|
| +++ b/chrome/browser/history/history_unittest.cc
|
| @@ -191,9 +191,11 @@ class HistoryTest : public testing::Test {
|
| GURL("foo-url"),
|
| GURL(""),
|
| time,
|
| + time,
|
| 0,
|
| 512,
|
| state,
|
| + 0,
|
| 0);
|
| return db_->CreateDownload(download);
|
| }
|
| @@ -365,8 +367,10 @@ TEST_F(HistoryTest, ClearBrowsingData_Downloads) {
|
| downloads[2].start_time.ToInternalValue());
|
|
|
| // Change state so we can delete the downloads.
|
| - EXPECT_TRUE(db_->UpdateDownload(512, DownloadItem::COMPLETE, in_progress));
|
| - EXPECT_TRUE(db_->UpdateDownload(512, DownloadItem::CANCELLED, removing));
|
| + EXPECT_TRUE(db_->UpdateDownload(
|
| + 512, DownloadItem::COMPLETE, base::Time::Now(), in_progress));
|
| + EXPECT_TRUE(db_->UpdateDownload(
|
| + 512, DownloadItem::CANCELLED, base::Time::Now(), removing));
|
|
|
| // Try removing from Time=0. This should delete all.
|
| db_->RemoveDownloadsBetween(Time(), Time());
|
|
|