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

Unified Diff: printing/printing_context_win.cc

Issue 702603004: Renamed DISABLE_BASIC_PRINTING and ENABLE_FULL_PRINTING. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Nov 4 16:01:27 PST 2014 Created 6 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: printing/printing_context_win.cc
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index 100eb25b005246a692f18001c13750e4c7b62d87..439a4470975868fe8d6f16bffa27ce5bc4323925 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -26,12 +26,12 @@ namespace printing {
// static
scoped_ptr<PrintingContext> PrintingContext::Create(Delegate* delegate) {
-#if defined(DISABLE_BASIC_PRINTING)
+#if !defined(ENABLED_BASIC_PRINTING)
Lei Zhang 2014/11/05 00:14:45 Can you flip this around to be: if (defined(ENABL
Vitaly Buka (NO REVIEWS) 2014/11/05 01:22:08 Done.
return make_scoped_ptr<PrintingContext>(new PrintingContextWin(delegate));
-#else // DISABLE_BASIC_PRINTING
+#else // !ENABLED_BASIC_PRINTING
return make_scoped_ptr<PrintingContext>(
new PrintingContextSytemDialogWin(delegate));
-#endif // DISABLE_BASIC_PRINTING
+#endif // !ENABLED_BASIC_PRINTING
}
PrintingContextWin::PrintingContextWin(Delegate* delegate)
« build/common.gypi ('K') | « content/browser/renderer_host/pepper/pepper_print_settings_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698