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

Unified Diff: printing/print_job_constants.h

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/features/features.gni ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_job_constants.h
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index 2cded6d13752fddd7ca289450527ce88424e193f..7118808a5e55f30b95bf7ff7affa4a8fc51feb43 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -6,6 +6,7 @@
#define PRINTING_PRINT_JOB_CONSTANTS_H_
#include "build/build_config.h"
+#include "printing/features/features.h"
#include "printing/printing_export.h"
namespace printing {
@@ -68,7 +69,7 @@ PRINTING_EXPORT extern const char kSettingScaleFactor[];
PRINTING_EXPORT extern const char kSettingTicket[];
PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[];
PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[];
-#if defined(ENABLE_BASIC_PRINTING)
+#if BUILDFLAG(ENABLE_BASIC_PRINTING)
PRINTING_EXPORT extern const char kSettingShowSystemDialog[];
#endif
« no previous file with comments | « printing/features/features.gni ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698