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

Unified Diff: chrome/browser/chromeos/drive/download_handler.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/chromeos/drive/download_handler.cc
diff --git a/chrome/browser/chromeos/drive/download_handler.cc b/chrome/browser/chromeos/drive/download_handler.cc
index 9111e8b56d7b82ad0086cea4ab1a4b0b5443601a..81b3f20871680c8360b699a32eb1de0faf887f5d 100644
--- a/chrome/browser/chromeos/drive/download_handler.cc
+++ b/chrome/browser/chromeos/drive/download_handler.cc
@@ -18,9 +18,9 @@
#include "chrome/browser/chromeos/drive/drive_integration_service.h"
#include "chrome/browser/chromeos/drive/file_system_util.h"
#include "chrome/browser/chromeos/drive/write_on_cache_file.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 "components/drive/chromeos/file_system_interface.h"
#include "components/drive/drive.pb.h"
#include "content/public/browser/browser_thread.h"
@@ -117,10 +117,11 @@ bool IsPersistedDriveDownload(const base::FilePath& drive_tmp_download_path,
if (!drive_tmp_download_path.IsParent(download->GetTargetFilePath()))
return false;
- DownloadService* download_service =
- DownloadServiceFactory::GetForBrowserContext(
+ DownloadCoreService* download_core_service =
+ DownloadCoreServiceFactory::GetForBrowserContext(
download->GetBrowserContext());
- DownloadHistory* download_history = download_service->GetDownloadHistory();
+ DownloadHistory* download_history =
+ download_core_service->GetDownloadHistory();
return download_history && download_history->WasRestoredFromHistory(download);
}

Powered by Google App Engine
This is Rietveld 408576698