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

Unified Diff: printing/backend/cups_ipp_util.cc

Issue 2117713002: Print directly to CUPS using the IPP APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ippRead
Patch Set: lint Created 4 years, 5 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
Index: printing/backend/cups_ipp_util.cc
diff --git a/printing/backend/cups_ipp_util.cc b/printing/backend/cups_ipp_util.cc
index 49f02d08a7a41b0d05308aa37340d3ea7f958710..176ef867f710a382e817b04af5c7c41bd4907cbd 100644
--- a/printing/backend/cups_ipp_util.cc
+++ b/printing/backend/cups_ipp_util.cc
@@ -22,8 +22,7 @@
namespace printing {
-namespace {
-
+// property names
const char kIppCollate[] = "sheet-collate"; // RFC 3381
const char kIppCopies[] = CUPS_COPIES;
const char kIppColor[] = CUPS_PRINT_COLOR_MODE;
@@ -31,6 +30,9 @@ const char kIppMedia[] = CUPS_MEDIA;
const char kIppDuplex[] = CUPS_SIDES;
const char kCollated[] = "collated";
+const char kUncollated[] = "uncollated";
+
+namespace {
const int kMicronsPerMM = 1000;
const double kMMPerInch = 25.4;

Powered by Google App Engine
This is Rietveld 408576698