| Index: components/history/core/browser/history_database_params.h
|
| diff --git a/components/history/core/browser/history_database_params.h b/components/history/core/browser/history_database_params.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3af9c84c277395b2cce4891896fcac18a28b8ea9
|
| --- /dev/null
|
| +++ b/components/history/core/browser/history_database_params.h
|
| @@ -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.
|
| +
|
| +#ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_PARAMS_H_
|
| +#define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_PARAMS_H_
|
| +
|
| +#include "base/files/file_path.h"
|
| +#include "components/history/core/browser/download_types.h"
|
| +
|
| +namespace history {
|
| +
|
| +// HistoryDatabaseParams store parameters for HistoryDatabase constructor and
|
| +// Init methods so that they can be easily passed around between HistoryService
|
| +// and HistoryBackend.
|
| +struct HistoryDatabaseParams {
|
| + HistoryDatabaseParams();
|
| + HistoryDatabaseParams(
|
| + const base::FilePath& history_dir,
|
| + DownloadInterruptReason download_interrupt_reason_none,
|
| + DownloadInterruptReason download_interrupt_reason_crash);
|
| + ~HistoryDatabaseParams();
|
| +
|
| + base::FilePath history_dir;
|
| + DownloadInterruptReason download_interrupt_reason_none;
|
| + DownloadInterruptReason download_interrupt_reason_crash;
|
| +};
|
| +
|
| +} // namespace history
|
| +
|
| +#endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_PARAMS_H_
|
|
|