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

Side by Side Diff: printing/backend/print_backend.cc

Issue 10905006: Get semantic capabilities from Print Backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
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 static const char kSemanticCapabilities[] = "capabilities";
Lei Zhang 2012/09/05 00:32:32 These aren't used anywhere?
gene 2012/09/05 21:04:10 Not used. Removing. I was in the process of switch
10 static const char kSemanticDefaults[] = "defaults";
11 static const char kSemanticColor[] = "color";
12 static const char kSemanticDuplex[] = "duplex";
13
9 PrinterBasicInfo::PrinterBasicInfo() 14 PrinterBasicInfo::PrinterBasicInfo()
10 : printer_status(0), 15 : printer_status(0),
11 is_default(false) {} 16 is_default(false) {}
12 17
13 PrinterBasicInfo::~PrinterBasicInfo() {} 18 PrinterBasicInfo::~PrinterBasicInfo() {}
14 19
20 PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults()
21 : color_capable(false),
22 duplex_capable(false),
23 color_default(false),
24 duplex_default(UNKNOWN_DUPLEX_MODE) {}
25
26 PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {}
27
28 std::string PrinterSemanticCapsAndDefaults::GetAsJson() const {
29 return "Not yet implemented";
30 }
31
15 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {} 32 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {}
16 33
17 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {} 34 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {}
18 35
19 PrintBackend::~PrintBackend() {} 36 PrintBackend::~PrintBackend() {}
20 37
21 } // namespace printing 38 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698