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

Side by Side Diff: chrome/service/cloud_print/print_system.cc

Issue 3945003: Move useful printing backend code from chrome/service/cloud_print to printing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: resolve merge conflict Created 10 years, 2 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) 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
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/print_system.h ('k') | chrome/service/cloud_print/print_system_cups.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698