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

Unified Diff: chrome/utility/printing_handler.h

Issue 1994713002: Make the dependency of enable_print_preview and enable_pdf explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cc file Created 4 years, 7 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
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/printing_handler.h
diff --git a/chrome/utility/printing_handler.h b/chrome/utility/printing_handler.h
index 38072cbd88da3dc4e546d474295dd9bb30521c6b..be52e3188cccac0e8822e75d719b733f71282045 100644
--- a/chrome/utility/printing_handler.h
+++ b/chrome/utility/printing_handler.h
@@ -12,8 +12,9 @@
#include "ipc/ipc_platform_file.h"
#include "printing/pdf_render_settings.h"
-#if !defined(ENABLE_PRINT_PREVIEW) && !defined(OS_WIN)
-#error "Windows or full printing must be enabled"
+#if !defined(ENABLE_PRINT_PREVIEW) && \
+ !(defined(ENABLE_BASIC_PRINTING) && defined(OS_WIN))
+#error "Windows basic printing or print preview must be enabled"
#endif
namespace printing {
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698