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

Unified Diff: chrome/common/chrome_features.cc

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_features.cc
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index 8b3cd4068f12180901335e7f2bd402003e01e981..9e4150263cd67aace4330b4e1509c04a726c5e8d 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chrome/common/chrome_features.h"
+#include "printing/features/features.h"
namespace features {
@@ -95,7 +96,7 @@ const base::Feature kOverrideYouTubeFlashEmbed{
"OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT};
// Enables the Print Scaling feature in print preview.
-#if defined(ENABLE_PRINT_PREVIEW)
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
const base::Feature kPrintScaling{"PrintScaling",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif

Powered by Google App Engine
This is Rietveld 408576698