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

Unified Diff: chrome/common/common_message_generator.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 | « chrome/common/chrome_utility_printing_messages.h ('k') | chrome/common/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/common_message_generator.h
diff --git a/chrome/common/common_message_generator.h b/chrome/common/common_message_generator.h
index 6e6b9a7266c5b6e11f0dd5c803be5384aa741710..f93f82211328f14fbfc5bfaa92a27e4e98f70b08 100644
--- a/chrome/common/common_message_generator.h
+++ b/chrome/common/common_message_generator.h
@@ -15,6 +15,7 @@
#include "chrome/common/tts_messages.h"
#include "content/public/common/common_param_traits.h"
#include "content/public/common/common_param_traits_macros.h"
+#include "printing/features/features.h"
#if defined(ENABLE_EXTENSIONS)
#include "chrome/common/cast_messages.h"
@@ -22,11 +23,11 @@
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
#endif
-#if defined(ENABLE_PRINT_PREVIEW)
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
#include "chrome/common/service_messages.h"
#endif
-#if defined(ENABLE_PRINTING)
+#if BUILDFLAG(ENABLE_PRINTING)
#include "chrome/common/chrome_utility_printing_messages.h"
#endif
« no previous file with comments | « chrome/common/chrome_utility_printing_messages.h ('k') | chrome/common/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698