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 3 // found in the LICENSE file. 4 5 #include "chrome/service/cloud_print/print_system.h" 6 7 #include "base/guid.h" 8 9 namespace cloud_print { 10 11 PrintJobDetails::PrintJobDetails() 12 : status(PRINT_JOB_STATUS_INVALID), 13 platform_status_flags(0), 14 total_pages(0), 15 pages_printed(0) { 16 } 17 18 void PrintJobDetails::Clear() { 19 status = PRINT_JOB_STATUS_INVALID; 20 platform_status_flags = 0; 21 status_message.clear(); 22 total_pages = 0; 23 pages_printed = 0; 24 } 25 26 PrintSystem::PrintServerWatcher::~PrintServerWatcher() {} 27 28 PrintSystem::PrinterWatcher::~PrinterWatcher() {} 29 30 PrintSystem::JobSpooler::~JobSpooler() {} 31 32 PrintSystem::~PrintSystem() {} 33 34 std::string PrintSystem::GenerateProxyId() { 35 return base::GenerateGUID(); 36 } 37 38 } // namespace cloud_print 39 40