blob: ca5f275723e828578a3aad12c83e923cd7279600 [file] [log] [blame]
// 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 {
const DownloadInterruptReason kTestDownloadInterruptReasonNone = 0;
const DownloadInterruptReason kTestDownloadInterruptReasonCrash = 1;
TestHistoryDatabase::TestHistoryDatabase()
: HistoryDatabase(kTestDownloadInterruptReasonNone,
kTestDownloadInterruptReasonCrash) {
}
TestHistoryDatabase::~TestHistoryDatabase() {
}
HistoryDatabaseParams TestHistoryDatabaseParamsForPath(
const base::FilePath& history_dir) {
return HistoryDatabaseParams(
history_dir,
kTestDownloadInterruptReasonNone,
kTestDownloadInterruptReasonCrash);
}
} // namespace history