Index: chrome/common/url_constants.cc |
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc |
index b0c83ae582930a9dc57bd99f99e7caa60cc9db15..70680aa119aff4c7a9f2f331f96552ecca304805 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 "printing/features/features.h" |
#include "url/url_util.h" |
namespace chrome { |
@@ -264,7 +265,7 @@ const char kChromeUIWelcomeHost[] = "welcome"; |
const char kChromeUIWelcomeWin10Host[] = "welcome-win10"; |
const char kChromeUIWorkersHost[] = "workers"; |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
const char kChromeUIPrintHost[] = "print"; |
#endif // ENABLE_PRINT_PREVIEW |
@@ -711,7 +712,7 @@ const char* const kChromeHostURLs[] = { |
#if defined(ENABLE_EXTENSIONS) |
kChromeUIExtensionsHost, |
#endif |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
kChromeUIPrintHost, |
#endif |
#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |