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

Unified Diff: extensions/common/extension.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
« no previous file with comments | « extensions/common/api/BUILD.gn ('k') | extensions/features/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 308b4d889cb3b2d0cc2dc167125f1d43208febe7..41c8f3ddeac0c9dc0692d0b4a5c3861fd898bf74 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -21,9 +21,10 @@
#include "extensions/common/install_warning.h"
#include "extensions/common/manifest.h"
#include "extensions/common/url_pattern_set.h"
+#include "extensions/features/features.h"
#include "url/gurl.h"
-#if !defined(ENABLE_EXTENSIONS)
+#if !BUILDFLAG(ENABLE_EXTENSIONS)
#error "Extensions must be enabled"
#endif
« no previous file with comments | « extensions/common/api/BUILD.gn ('k') | extensions/features/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698