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

Unified Diff: chrome/common/all_messages.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/BUILD.gn ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/all_messages.h
diff --git a/chrome/common/all_messages.h b/chrome/common/all_messages.h
index e1026656a5e20687cd7641321fdd5a79924e2734..c9ab5da6001a424bfcb6e4014eeda3a8550133c4 100644
--- a/chrome/common/all_messages.h
+++ b/chrome/common/all_messages.h
@@ -11,6 +11,7 @@
// chrome/tools/ipclist/ipclist.cc.
#include "build/build_config.h"
+#include "printing/features/features.h"
#if !defined(OS_ANDROID)
#include "chrome/common/importer/profile_import_process_messages.h"
@@ -18,7 +19,7 @@
#include "chrome/common/common_message_generator.h"
-#if defined(ENABLE_PRINTING)
+#if BUILDFLAG(ENABLE_PRINTING)
// TODO(dgn) remove from here when all the code using these messages is removed
// from /chrome. (crbug.com/311308, crbug.com/450822)
#include "components/printing/common/print_messages.h" // nogncheck
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698