Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3529)

Unified Diff: chrome/browser/ntp_snippets/content_suggestions_service_factory.cc

Issue 2853363002: Rename the DownloadService to DownloadCoreService (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
diff --git a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
index 08d5ae2084c523c6007fabfc4bdb3dcad92d460c..3ef2bf58837a87be4c94e24d6458c1e79df0ae83 100644
--- a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
+++ b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
@@ -63,9 +63,9 @@
#include "chrome/browser/android/ntp/ntp_snippets_launcher.h"
#include "chrome/browser/android/offline_pages/offline_page_model_factory.h"
#include "chrome/browser/android/offline_pages/request_coordinator_factory.h"
+#include "chrome/browser/download/download_core_service.h"
+#include "chrome/browser/download/download_core_service_factory.h"
#include "chrome/browser/download/download_history.h"
-#include "chrome/browser/download/download_service.h"
-#include "chrome/browser/download/download_service_factory.h"
#include "chrome/browser/ntp_snippets/download_suggestions_provider.h"
#include "components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.h"
#include "components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.h"
@@ -342,9 +342,10 @@ KeyedService* ContentSuggestionsServiceFactory::BuildServiceInstanceFor(
RequestCoordinatorFactory::GetForBrowserContext(profile);
DownloadManager* download_manager =
content::BrowserContext::GetDownloadManager(profile);
- DownloadService* download_service =
- DownloadServiceFactory::GetForBrowserContext(profile);
- DownloadHistory* download_history = download_service->GetDownloadHistory();
+ DownloadCoreService* download_core_service =
+ DownloadCoreServiceFactory::GetForBrowserContext(profile);
+ DownloadHistory* download_history =
+ download_core_service->GetDownloadHistory();
PhysicalWebDataSource* physical_web_data_source =
g_browser_process->GetPhysicalWebDataSource();
#endif // OS_ANDROID

Powered by Google App Engine
This is Rietveld 408576698