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

Unified Diff: chrome/browser/android/download/download_manager_service.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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/download/download_manager_service.cc
diff --git a/chrome/browser/android/download/download_manager_service.cc b/chrome/browser/android/download/download_manager_service.cc
index bfef026292a0b6499d9696577750e834c0896de7..2be42f970e3a40ae26344a72dd99b7a8d47f6915 100644
--- a/chrome/browser/android/download/download_manager_service.cc
+++ b/chrome/browser/android/download/download_manager_service.cc
@@ -12,8 +12,8 @@
#include "base/time/time.h"
#include "chrome/browser/android/chrome_feature_list.h"
#include "chrome/browser/android/download/download_controller.h"
-#include "chrome/browser/download/download_service.h"
-#include "chrome/browser/download/download_service_factory.h"
+#include "chrome/browser/download/download_core_service.h"
David Trainor- moved to gerrit 2017/05/02 18:36:25 It's interesting to see how it decides which _ is
+#include "chrome/browser/download/download_core_service_factory.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/grit/generated_resources.h"
#include "components/mime_util/mime_util.h"
@@ -130,9 +130,9 @@ static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& jobj) {
Profile* profile = ProfileManager::GetActiveUserProfile();
DownloadManagerService* service = DownloadManagerService::GetInstance();
service->Init(env, jobj);
- DownloadService* download_service =
- DownloadServiceFactory::GetForBrowserContext(profile);
- DownloadHistory* history = download_service->GetDownloadHistory();
+ DownloadCoreService* download_core_service =
+ DownloadCoreServiceFactory::GetForBrowserContext(profile);
+ DownloadHistory* history = download_core_service->GetDownloadHistory();
if (history)
history->AddObserver(service);
return reinterpret_cast<intptr_t>(service);
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698