chromium/out/Default/gen/printing/mojom/print.mojom-shared.cc

// printing/mojom/print.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "printing/mojom/print.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#include <ostream>
#include <utility>

#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "printing/mojom/print.mojom-params-data.h"
namespace printing {
namespace mojom {

NOINLINE static const char* ColorModelToStringHelper(ColorModel value) {}

std::string ColorModelToString(ColorModel value) {}

std::ostream& operator<<(std::ostream& os, ColorModel value) {}

NOINLINE static const char* DuplexModeToStringHelper(DuplexMode value) {}

std::string DuplexModeToString(DuplexMode value) {}

std::ostream& operator<<(std::ostream& os, DuplexMode value) {}

NOINLINE static const char* PageOrientationToStringHelper(PageOrientation value) {}

std::string PageOrientationToString(PageOrientation value) {}

std::ostream& operator<<(std::ostream& os, PageOrientation value) {}

NOINLINE static const char* PrintScalingOptionToStringHelper(PrintScalingOption value) {}

std::string PrintScalingOptionToString(PrintScalingOption value) {}

std::ostream& operator<<(std::ostream& os, PrintScalingOption value) {}

NOINLINE static const char* SkiaDocumentTypeToStringHelper(SkiaDocumentType value) {}

std::string SkiaDocumentTypeToString(SkiaDocumentType value) {}

std::ostream& operator<<(std::ostream& os, SkiaDocumentType value) {}

NOINLINE static const char* MetafileDataTypeToStringHelper(MetafileDataType value) {}

std::string MetafileDataTypeToString(MetafileDataType value) {}

std::ostream& operator<<(std::ostream& os, MetafileDataType value) {}

NOINLINE static const char* GenerateDocumentOutlineToStringHelper(GenerateDocumentOutline value) {}

std::string GenerateDocumentOutlineToString(GenerateDocumentOutline value) {}

std::ostream& operator<<(std::ostream& os, GenerateDocumentOutline value) {}

NOINLINE static const char* MarginTypeToStringHelper(MarginType value) {}

std::string MarginTypeToString(MarginType value) {}

std::ostream& operator<<(std::ostream& os, MarginType value) {}

NOINLINE static const char* ResultCodeToStringHelper(ResultCode value) {}

std::string ResultCodeToString(ResultCode value) {}

std::ostream& operator<<(std::ostream& os, ResultCode value) {}

NOINLINE static const char* PrinterTypeToStringHelper(PrinterType value) {}

std::string PrinterTypeToString(PrinterType value) {}

std::ostream& operator<<(std::ostream& os, PrinterType value) {}

namespace internal {


// static
bool PageSizeMargins_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageSizeMargins_Data::PageSizeMargins_Data()
    :{}


// static
bool PageRange_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

PageRange_Data::PageRange_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace printing

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::ColorModel>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::ColorModel value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::DuplexMode>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::DuplexMode value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::PageOrientation>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::PageOrientation value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::PrintScalingOption>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::PrintScalingOption value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::SkiaDocumentType>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::SkiaDocumentType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::MetafileDataType>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::MetafileDataType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::GenerateDocumentOutline>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::GenerateDocumentOutline value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::MarginType>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::MarginType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::ResultCode>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::ResultCode value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::printing::mojom::PrinterType>::WriteIntoTrace(
   perfetto::TracedValue context, ::printing::mojom::PrinterType value) {}

} // namespace perfetto