Chromium Code Reviews| Index: chrome/browser/history/history_database.cc |
| diff --git a/chrome/browser/history/history_database.cc b/chrome/browser/history/history_database.cc |
| index a0786eb7bec4a4053d67e8012a49da4ed3a4e6d2..e35fded9411180947641c56a4b3e10a8637ecfe6 100644 |
| --- a/chrome/browser/history/history_database.cc |
| +++ b/chrome/browser/history/history_database.cc |
| @@ -14,6 +14,7 @@ |
| #include "base/rand_util.h" |
| #include "base/strings/string_util.h" |
| #include "base/time/time.h" |
| +#include "content/public/browser/download_interrupt_reasons.h" |
| #include "sql/transaction.h" |
| #if defined(OS_MACOSX) |
| @@ -33,7 +34,11 @@ const char kEarlyExpirationThresholdKey[] = "early_expiration_threshold"; |
| } // namespace |
| -HistoryDatabase::HistoryDatabase() { |
| +HistoryDatabase::HistoryDatabase() |
| + : DownloadDatabase(static_cast<DownloadInterruptReason>( |
|
droger
2015/01/06 10:22:18
Can we use ToHistoryDownloadInterruptReason() here
sdefresne
2015/01/06 10:51:17
Good catch.
|
| + content::DOWNLOAD_INTERRUPT_REASON_NONE), |
| + static_cast<DownloadInterruptReason>( |
| + content::DOWNLOAD_INTERRUPT_REASON_CRASH)) { |
| } |
| HistoryDatabase::~HistoryDatabase() { |