Index: chrome/browser/download/chrome_download_manager_delegate.cc |
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc |
index c070dfe36c74236bee7bd5af92fb14c29501e7c6..f1d24f7510b525c5572d949192bf648d9ae90ff3 100644 |
--- a/chrome/browser/download/chrome_download_manager_delegate.cc |
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc |
@@ -22,14 +22,14 @@ |
#include "build/build_config.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/download/download_completion_blocker.h" |
+#include "chrome/browser/download/download_core_service.h" |
+#include "chrome/browser/download/download_core_service_factory.h" |
#include "chrome/browser/download/download_crx_util.h" |
#include "chrome/browser/download/download_file_picker.h" |
#include "chrome/browser/download/download_history.h" |
#include "chrome/browser/download/download_item_model.h" |
#include "chrome/browser/download/download_path_reservation_tracker.h" |
#include "chrome/browser/download/download_prefs.h" |
-#include "chrome/browser/download/download_service.h" |
-#include "chrome/browser/download/download_service_factory.h" |
#include "chrome/browser/download/download_stats.h" |
#include "chrome/browser/download/download_target_determiner.h" |
#include "chrome/browser/download/save_package_file_picker.h" |
@@ -584,7 +584,7 @@ void ChromeDownloadManagerDelegate::NotifyExtensions( |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
#if BUILDFLAG(ENABLE_EXTENSIONS) |
extensions::ExtensionDownloadsEventRouter* router = |
- DownloadServiceFactory::GetForBrowserContext(profile_) |
+ DownloadCoreServiceFactory::GetForBrowserContext(profile_) |
->GetExtensionEventRouter(); |
if (router) { |
base::Closure original_path_callback = |