root/chrome/service/cloud_print/print_system.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. pages_printed
  2. Clear
  3. GenerateProxyId

// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/service/cloud_print/print_system.h"

#include "base/guid.h"

namespace cloud_print {

PrintJobDetails::PrintJobDetails()
    : status(PRINT_JOB_STATUS_INVALID),
      platform_status_flags(0),
      total_pages(0),
      pages_printed(0) {
}

void PrintJobDetails::Clear() {
  status = PRINT_JOB_STATUS_INVALID;
  platform_status_flags = 0;
  status_message.clear();
  total_pages = 0;
  pages_printed = 0;
}

PrintSystem::PrintServerWatcher::~PrintServerWatcher() {}

PrintSystem::PrinterWatcher::~PrinterWatcher() {}

PrintSystem::JobSpooler::~JobSpooler() {}

PrintSystem::~PrintSystem() {}

std::string PrintSystem::GenerateProxyId() {
  return base::GenerateGUID();
}

}  // namespace cloud_print


/* [<][>][^][v][top][bottom][index][help] */