OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/service/cloud_print/print_system.h" | 5 #include "chrome/service/cloud_print/print_system.h" |
6 | 6 |
7 namespace cloud_print { | 7 namespace cloud_print { |
8 | 8 |
9 PrinterBasicInfo::PrinterBasicInfo() : printer_status(0) {} | |
10 | |
11 PrinterBasicInfo::~PrinterBasicInfo() {} | |
12 | |
13 PrintJobDetails::PrintJobDetails() | 9 PrintJobDetails::PrintJobDetails() |
14 : status(PRINT_JOB_STATUS_INVALID), | 10 : status(PRINT_JOB_STATUS_INVALID), |
15 platform_status_flags(0), | 11 platform_status_flags(0), |
16 total_pages(0), | 12 total_pages(0), |
17 pages_printed(0) { | 13 pages_printed(0) { |
18 } | 14 } |
19 | 15 |
20 void PrintJobDetails::Clear() { | 16 void PrintJobDetails::Clear() { |
21 status = PRINT_JOB_STATUS_INVALID; | 17 status = PRINT_JOB_STATUS_INVALID; |
22 platform_status_flags = 0; | 18 platform_status_flags = 0; |
23 status_message.clear(); | 19 status_message.clear(); |
24 total_pages = 0; | 20 total_pages = 0; |
25 pages_printed = 0; | 21 pages_printed = 0; |
26 } | 22 } |
27 | 23 |
28 PrintSystem::PrintServerWatcher::~PrintServerWatcher() {} | 24 PrintSystem::PrintServerWatcher::~PrintServerWatcher() {} |
29 | 25 |
30 PrintSystem::PrinterWatcher::~PrinterWatcher() {} | 26 PrintSystem::PrinterWatcher::~PrinterWatcher() {} |
31 | 27 |
32 PrintSystem::JobSpooler::~JobSpooler() {} | 28 PrintSystem::JobSpooler::~JobSpooler() {} |
33 | 29 |
34 PrintSystem::~PrintSystem() {} | 30 PrintSystem::~PrintSystem() {} |
35 | 31 |
36 } // namespace cloud_print | 32 } // namespace cloud_print |
OLD | NEW |