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

Unified Diff: printing/backend/print_backend.cc

Issue 313723002: Convert local printer capabilites to CDD format to unify with cloud printers and PDF printer. This … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clang reported errors. Created 6 years, 6 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/backend/print_backend.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend.cc
diff --git a/printing/backend/print_backend.cc b/printing/backend/print_backend.cc
index 1ec71462a6f6810693d653da30f349ec9536068a..d071201d072d93c6794aeff95025391f74eb4735 100644
--- a/printing/backend/print_backend.cc
+++ b/printing/backend/print_backend.cc
@@ -13,16 +13,19 @@ PrinterBasicInfo::PrinterBasicInfo()
PrinterBasicInfo::~PrinterBasicInfo() {}
PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults()
- : color_changeable(false),
- color_default(false),
-#if defined (OS_WIN)
- collate_capable(false),
+ : collate_capable(false),
collate_default(false),
copies_capable(false),
-#endif
duplex_capable(false),
- duplex_default(UNKNOWN_DUPLEX_MODE) {
-}
+ duplex_default(UNKNOWN_DUPLEX_MODE),
+ color_changeable(false),
+ color_default(false)
+#if defined (OS_POSIX)
+ ,
+ color_model(UNKNOWN_COLOR_MODEL),
+ bw_model(UNKNOWN_COLOR_MODEL)
+#endif
+{}
PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {}
« no previous file with comments | « printing/backend/print_backend.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698