Avoid crashing when going back/forward to debug URLs on a sad WebUI tab.
[chromium-blink-merge.git] / chrome / service / cloud_print / print_system.cc
blobac94c804f9abc66df53fc4f7168b09b4d4cb3fda
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.
5 #include "chrome/service/cloud_print/print_system.h"
7 #include "base/guid.h"
9 namespace cloud_print {
11 PrintJobDetails::PrintJobDetails()
12 : status(PRINT_JOB_STATUS_INVALID),
13 platform_status_flags(0),
14 total_pages(0),
15 pages_printed(0) {
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;
26 PrintSystem::PrintServerWatcher::~PrintServerWatcher() {}
28 PrintSystem::PrinterWatcher::~PrinterWatcher() {}
30 PrintSystem::JobSpooler::~JobSpooler() {}
32 PrintSystem::~PrintSystem() {}
34 std::string PrintSystem::GenerateProxyId() {
35 return base::GenerateGUID();
38 } // namespace cloud_print