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

Unified Diff: printing/print_job_constants.cc

Issue 2458833005: Move printing defines to buildflag system. (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 | « printing/print_job_constants.h ('k') | printing/printing_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_job_constants.cc
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index cae9c91a0c659185721ba7c20af0b78cce3feed5..6dad017ceeb390c7f9aafb8568fc1b6946e37040 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -4,6 +4,8 @@
#include "printing/print_job_constants.h"
+#include "printing/features/features.h"
+
namespace printing {
// True if this is the first preview request.
@@ -179,7 +181,7 @@ const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds";
// Whether to print selection only.
const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly";
-#if defined(ENABLE_BASIC_PRINTING)
+#if BUILDFLAG(ENABLE_BASIC_PRINTING)
// Whether to print using the system dialog.
const char kSettingShowSystemDialog[] = "showSystemDialog";
#endif
« no previous file with comments | « printing/print_job_constants.h ('k') | printing/printing_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698