chromium/chrome/services/printing/public/mojom/pdf_to_pwg_raster_converter_mojom_traits.h

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

#ifndef CHROME_SERVICES_PRINTING_PUBLIC_MOJOM_PDF_TO_PWG_RASTER_CONVERTER_MOJOM_TRAITS_H_
#define CHROME_SERVICES_PRINTING_PUBLIC_MOJOM_PDF_TO_PWG_RASTER_CONVERTER_MOJOM_TRAITS_H_

#include "base/notreached.h"
#include "build/build_config.h"
#include "chrome/services/printing/public/mojom/pdf_to_pwg_raster_converter.mojom-shared.h"
#include "printing/mojom/print.mojom.h"
#include "printing/pwg_raster_settings.h"

namespace mojo {

template <>
struct EnumTraits<printing::mojom::PwgRasterSettings_TransformType,
                  printing::PwgRasterTransformType> {};

template <>
struct EnumTraits<printing::mojom::PwgRasterSettings_DuplexMode,
                  printing::mojom::DuplexMode> {};

template <>
class StructTraits<printing::mojom::PwgRasterSettingsDataView,
                   printing::PwgRasterSettings> {};

}  // namespace mojo

#endif  // CHROME_SERVICES_PRINTING_PUBLIC_MOJOM_PDF_TO_PWG_RASTER_CONVERTER_MOJOM_TRAITS_H_