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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/download/download_service.h
diff --git a/chrome/browser/download/download_service.h b/chrome/browser/download/download_service.h
index 44a61f915877ebe43abf3d4712a90a4bb8b4d0dc..261cb56609b9b758826a8172be82992445af0ad1 100644
--- a/chrome/browser/download/download_service.h
+++ b/chrome/browser/download/download_service.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "components/keyed_service/core/keyed_service.h"
+#include "extensions/features/features.h"
class ChromeDownloadManagerDelegate;
class DownloadHistory;
@@ -38,7 +39,7 @@ class DownloadService : public KeyedService {
// no HistoryService for profile. Virtual for testing.
virtual DownloadHistory* GetDownloadHistory() = 0;
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
virtual extensions::ExtensionDownloadsEventRouter*
GetExtensionEventRouter() = 0;
#endif
« no previous file with comments | « chrome/browser/download/download_history_unittest.cc ('k') | chrome/browser/download/download_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698