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

Unified Diff: chrome/common/chrome_switches.h

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Missing file Created 4 years, 2 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
Index: chrome/common/chrome_switches.h
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index fa172892c5789ed56ef17fd0391b01922c592464..810856cc17063a31cfc7b422b82cd0f516d5f932 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -9,6 +9,7 @@
#define CHROME_COMMON_CHROME_SWITCHES_H_
#include "build/build_config.h"
+#include "printing/features/features.h"
// Don't add more switch files here. This is linked into some places like the
// installer where dependencies should be limited. Instead, have files
@@ -371,7 +372,7 @@ extern const char kWindows10CustomTitlebar[];
extern const char kWindows8Search[];
#endif // defined(OS_WIN)
-#if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
extern const char kDebugPrint[];
#endif

Powered by Google App Engine
This is Rietveld 408576698