Index: chrome/browser/download/download_history.cc |
diff --git a/chrome/browser/download/download_history.cc b/chrome/browser/download/download_history.cc |
index bb59dc911243f396c32401cbb9a2c8c6ca8fc752..be2368f3b0640fbfd1c945f0006828302ddad3c5 100644 |
--- a/chrome/browser/download/download_history.cc |
+++ b/chrome/browser/download/download_history.cc |
@@ -5,7 +5,7 @@ |
#include "chrome/browser/download/download_history.h" |
#include "base/logging.h" |
-#include "chrome/browser/download/chrome_download_manager_delegate.h" |
+#include "chrome/browser/download/download_crx_util.h" |
#include "chrome/browser/history/history_marshaling.h" |
#include "chrome/browser/profiles/profile.h" |
#include "content/public/browser/download_item.h" |
@@ -76,7 +76,7 @@ void DownloadHistory::AddEntry( |
// the neck first. YMMV. |
HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS); |
if (download_item->IsOtr() || |
- ChromeDownloadManagerDelegate::IsExtensionDownload(download_item) || |
+ download_crx_util::IsExtensionDownload(*download_item) || |
download_item->IsTemporary() || !hs) { |
callback.Run(download_item->GetId(), GetNextFakeDbHandle()); |
return; |