// 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