| Index: chrome/browser/history/history_unittest.cc
|
| diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc
|
| index b836d0c8fc365c736657616c95f8c519afe48093..f6cd01484ebf67d4e4fe848575ede55fc7cdf1b4 100644
|
| --- a/chrome/browser/history/history_unittest.cc
|
| +++ b/chrome/browser/history/history_unittest.cc
|
| @@ -42,7 +42,6 @@
|
| #include "base/task/cancelable_task_tracker.h"
|
| #include "base/threading/platform_thread.h"
|
| #include "base/time/time.h"
|
| -#include "chrome/browser/history/download_row.h"
|
| #include "chrome/browser/history/history_backend.h"
|
| #include "chrome/browser/history/history_database.h"
|
| #include "chrome/browser/history/history_notifications.h"
|
| @@ -52,6 +51,8 @@
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/tools/profiles/thumbnail-inl.h"
|
| +#include "components/history/core/browser/download_constants.h"
|
| +#include "components/history/core/browser/download_row.h"
|
| #include "components/history/core/browser/history_constants.h"
|
| #include "components/history/core/browser/history_db_task.h"
|
| #include "components/history/core/browser/in_memory_database.h"
|
| @@ -846,7 +847,7 @@ TEST_F(HistoryBackendDBTest, ConfirmDownloadInProgressCleanup) {
|
| sql::Statement statement1(db.GetUniqueStatement(
|
| "Select state, interrupt_reason from downloads"));
|
| EXPECT_TRUE(statement1.Step());
|
| - EXPECT_EQ(DownloadDatabase::kStateInProgress, statement1.ColumnInt(0));
|
| + EXPECT_EQ(kStateInProgress, statement1.ColumnInt(0));
|
| EXPECT_EQ(content::DOWNLOAD_INTERRUPT_REASON_NONE, statement1.ColumnInt(1));
|
| EXPECT_FALSE(statement1.Step());
|
| }
|
| @@ -876,7 +877,7 @@ TEST_F(HistoryBackendDBTest, ConfirmDownloadInProgressCleanup) {
|
| sql::Statement statement1(db.GetUniqueStatement(
|
| "Select state, interrupt_reason from downloads"));
|
| EXPECT_TRUE(statement1.Step());
|
| - EXPECT_EQ(DownloadDatabase::kStateInterrupted, statement1.ColumnInt(0));
|
| + EXPECT_EQ(kStateInterrupted, statement1.ColumnInt(0));
|
| EXPECT_EQ(content::DOWNLOAD_INTERRUPT_REASON_CRASH,
|
| statement1.ColumnInt(1));
|
| EXPECT_FALSE(statement1.Step());
|
|
|