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

Unified Diff: chrome/browser/printing/print_view_manager_common.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
Index: chrome/browser/printing/print_view_manager_common.h
diff --git a/chrome/browser/printing/print_view_manager_common.h b/chrome/browser/printing/print_view_manager_common.h
index 6e1064042731c79c1e0a53e42d5260082066b744..0268635833407c9e20edad75bdb3b5a38c67451c 100644
--- a/chrome/browser/printing/print_view_manager_common.h
+++ b/chrome/browser/printing/print_view_manager_common.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
#define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
+#include "printing/features/features.h"
+
namespace content {
class WebContents;
}
@@ -16,7 +18,7 @@ void StartPrint(content::WebContents* web_contents,
bool print_preview_disabled,
bool selection_only);
-#if defined(ENABLE_BASIC_PRINTING)
+#if BUILDFLAG(ENABLE_BASIC_PRINTING)
// Start printing using the system print dialog.
void StartBasicPrint(content::WebContents* contents);
#endif
« no previous file with comments | « chrome/browser/printing/print_view_manager_base.cc ('k') | chrome/browser/printing/print_view_manager_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698