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
9namespace cloud_print {
10
11PrintJobDetails::PrintJobDetails()
12    : status(PRINT_JOB_STATUS_INVALID),
13      platform_status_flags(0),
14      total_pages(0),
15      pages_printed(0) {
16}
17
18void 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
26PrintSystem::PrintServerWatcher::~PrintServerWatcher() {}
27
28PrintSystem::PrinterWatcher::~PrinterWatcher() {}
29
30PrintSystem::JobSpooler::~JobSpooler() {}
31
32PrintSystem::~PrintSystem() {}
33
34std::string PrintSystem::GenerateProxyId() {
35  return base::GenerateGUID();
36}
37
38}  // namespace cloud_print
39
40