| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/history/content/browser/history_database_helper.h" |
| 6 |
| 7 #include "base/files/file_path.h" |
| 8 #include "components/history/content/browser/download_constants_utils.h" |
| 9 #include "components/history/core/browser/history_database_params.h" |
| 10 #include "content/public/browser/download_interrupt_reasons.h" |
| 11 |
| 12 namespace history { |
| 13 |
| 14 HistoryDatabaseParams HistoryDatabaseParamsForPath( |
| 15 const base::FilePath& history_dir) { |
| 16 return HistoryDatabaseParams( |
| 17 history_dir, |
| 18 history::ToHistoryDownloadInterruptReason( |
| 19 content::DOWNLOAD_INTERRUPT_REASON_NONE), |
| 20 history::ToHistoryDownloadInterruptReason( |
| 21 content::DOWNLOAD_INTERRUPT_REASON_CRASH)); |
| 22 } |
| 23 |
| 24 } // namespace |
| OLD | NEW |