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

Unified Diff: printing/printing_context.cc

Issue 1556463003: Mark printing code as basic printing and/or print preview code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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 | « printing/print_job_constants.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context.cc
diff --git a/printing/printing_context.cc b/printing/printing_context.cc
index 16f1103f5cc5f754c6e59ffd5e58eaf49a808fb1..2e080397a691ff91be558a7219dafbe2b04b2cea 100644
--- a/printing/printing_context.cc
+++ b/printing/printing_context.cc
@@ -118,7 +118,9 @@ PrintingContext::Result PrintingContext::UpdatePrintSettings(
}
bool show_system_dialog = false;
+#if defined(ENABLE_BASIC_PRINTING)
job_settings.GetBoolean(kSettingShowSystemDialog, &show_system_dialog);
+#endif
int page_count = 0;
job_settings.GetInteger(kSettingPreviewPageCount, &page_count);
« no previous file with comments | « printing/print_job_constants.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698