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

Unified Diff: chrome/common/url_constants.cc

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Test updates 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/common/url_constants.cc
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 655a1e1a28be288574aa28925b71768be274f801..5fc4f2ddc98f4b992bab0eb6ba52aeee5e813305 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -10,6 +10,7 @@
#include "build/build_config.h"
#include "chrome/common/features.h"
#include "content/public/common/url_constants.h"
+#include "extensions/features/features.h"
#include "printing/features/features.h"
#include "url/url_util.h"
@@ -714,7 +715,7 @@ const char* const kChromeHostURLs[] = {
#if !defined(DISABLE_NACL)
kChromeUINaClHost,
#endif
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
kChromeUIExtensionsHost,
#endif
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/BUILD.gn » ('j') | tools/grit/grit_rule.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698