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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/backend/print_backend.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "printing/backend/print_backend.h" 5 #include "printing/backend/print_backend.h"
6 6
7 namespace printing { 7 namespace printing {
8 8
9 PrinterBasicInfo::PrinterBasicInfo() 9 PrinterBasicInfo::PrinterBasicInfo()
10 : printer_status(0), 10 : printer_status(0),
11 is_default(false) {} 11 is_default(false) {}
12 12
13 PrinterBasicInfo::~PrinterBasicInfo() {} 13 PrinterBasicInfo::~PrinterBasicInfo() {}
14 14
15 PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults() 15 PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults()
16 : color_changeable(false), 16 : collate_capable(false),
17 color_default(false),
18 #if defined (OS_WIN)
19 collate_capable(false),
20 collate_default(false), 17 collate_default(false),
21 copies_capable(false), 18 copies_capable(false),
19 duplex_capable(false),
20 duplex_default(UNKNOWN_DUPLEX_MODE),
21 color_changeable(false),
22 color_default(false)
23 #if defined (OS_POSIX)
24 ,
25 color_model(UNKNOWN_COLOR_MODEL),
26 bw_model(UNKNOWN_COLOR_MODEL)
22 #endif 27 #endif
23 duplex_capable(false), 28 {}
24 duplex_default(UNKNOWN_DUPLEX_MODE) {
25 }
26 29
27 PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {} 30 PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {}
28 31
29 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {} 32 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {}
30 33
31 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {} 34 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {}
32 35
33 PrintBackend::~PrintBackend() {} 36 PrintBackend::~PrintBackend() {}
34 37
35 } // namespace printing 38 } // namespace printing
OLDNEW
« 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