| Index: components/history/core/test/test_history_database.cc
|
| diff --git a/components/history/core/test/test_history_database.cc b/components/history/core/test/test_history_database.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d2c76c7a6dea63c64b1e8695d1f08abde321eeb5
|
| --- /dev/null
|
| +++ b/components/history/core/test/test_history_database.cc
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "components/history/core/test/test_history_database.h"
|
| +
|
| +#include "components/history/core/browser/history_database_params.h"
|
| +
|
| +namespace history {
|
| +namespace {
|
| +const DownloadInterruptReason kTestDownloadInterruptReasonNone = 0;
|
| +const DownloadInterruptReason kTestDownloadInterruptReasonCrash = 1;
|
| +} // namespace
|
| +
|
| +TestHistoryDatabase::TestHistoryDatabase()
|
| + : HistoryDatabase(kTestDownloadInterruptReasonNone,
|
| + kTestDownloadInterruptReasonCrash) {
|
| +}
|
| +
|
| +TestHistoryDatabase::~TestHistoryDatabase() {
|
| +}
|
| +
|
| +HistoryDatabaseParams TestHistoryDatabaseParamsForPath(
|
| + const base::FilePath& history_dir) {
|
| + return HistoryDatabaseParams(
|
| + history_dir,
|
| + kTestDownloadInterruptReasonNone,
|
| + kTestDownloadInterruptReasonCrash);
|
| +}
|
| +
|
| +} // namespace history
|
|
|