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

Unified Diff: chrome/browser/download/download_service.h

Issue 257983002: Move downloads API to extensions namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error for unittest Created 6 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/download/download_history_unittest.cc ('k') | chrome/browser/download/download_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_service.h
diff --git a/chrome/browser/download/download_service.h b/chrome/browser/download/download_service.h
index 1e0ad634b1105b115522e155717c9b5e4acfae61..fece2d19a78388e9e6c1aa537dd666554817c212 100644
--- a/chrome/browser/download/download_service.h
+++ b/chrome/browser/download/download_service.h
@@ -20,6 +20,10 @@ namespace content {
class DownloadManager;
}
+namespace extensions {
+class ExtensionDownloadsEventRouter;
+}
+
// Owning class for ChromeDownloadManagerDelegate.
class DownloadService : public KeyedService {
public:
@@ -35,7 +39,7 @@ class DownloadService : public KeyedService {
DownloadHistory* GetDownloadHistory();
#if !defined(OS_ANDROID)
- ExtensionDownloadsEventRouter* GetExtensionEventRouter() {
+ extensions::ExtensionDownloadsEventRouter* GetExtensionEventRouter() {
return extension_event_router_.get();
}
#endif
@@ -97,7 +101,7 @@ class DownloadService : public KeyedService {
// should be a separate EDER for on-record and off-record managers.
// There does not appear to be a separate ExtensionSystem for on-record and
// off-record profiles, so ExtensionSystem cannot own the EDER.
- scoped_ptr<ExtensionDownloadsEventRouter> extension_event_router_;
+ scoped_ptr<extensions::ExtensionDownloadsEventRouter> extension_event_router_;
#endif
DISALLOW_COPY_AND_ASSIGN(DownloadService);
« no previous file with comments | « chrome/browser/download/download_history_unittest.cc ('k') | chrome/browser/download/download_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698