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

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: Wed Nov 5 02:31:54 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..ae71b9b21f1220effbe4d32f073665b9b7e14e19 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)
- return make_scoped_ptr<PrintingContext>(new PrintingContextWin(delegate));
-#else // DISABLE_BASIC_PRINTING
+#if defined(ENABLE_BASIC_PRINTING)
return make_scoped_ptr<PrintingContext>(
new PrintingContextSytemDialogWin(delegate));
-#endif // DISABLE_BASIC_PRINTING
+#else // ENABLE_BASIC_PRINTING
+ return make_scoped_ptr<PrintingContext>(new PrintingContextWin(delegate));
+#endif // EENABLE_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