Index: chrome/browser/history/history_backend.cc |
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc |
index 5e3917805960281aae367eb4c9dc4496dc2d591f..3320d5b8c317c41224e4ca402d5cb74b2371df0b 100644 |
--- a/chrome/browser/history/history_backend.cc |
+++ b/chrome/browser/history/history_backend.cc |
@@ -24,7 +24,6 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "base/time/time.h" |
#include "chrome/browser/chrome_notification_types.h" |
-#include "chrome/browser/history/download_row.h" |
#include "chrome/browser/history/history_notifications.h" |
#include "chrome/browser/history/in_memory_history_backend.h" |
#include "chrome/browser/history/in_memory_history_backend.h" |
@@ -35,6 +34,8 @@ |
#include "chrome/common/importer/imported_favicon_usage.h" |
#include "chrome/common/url_constants.h" |
#include "components/favicon_base/select_favicon_frames.h" |
+#include "components/history/core/browser/download_constants.h" |
+#include "components/history/core/browser/download_row.h" |
#include "components/history/core/browser/history_backend_observer.h" |
#include "components/history/core/browser/history_client.h" |
#include "components/history/core/browser/history_constants.h" |
@@ -1112,7 +1113,7 @@ void HistoryBackend::RemoveObserver(HistoryBackendObserver* observer) { |
// Downloads ------------------------------------------------------------------- |
uint32 HistoryBackend::GetNextDownloadId() { |
- return db_ ? db_->GetNextDownloadId() : content::DownloadItem::kInvalidId; |
+ return db_ ? db_->GetNextDownloadId() : kInvalidDownloadId; |
} |
// Get all the download entries from the database. |