#include "third_party/blink/public/mojom/printing/web_printing.mojom-shared.h"
#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 "third_party/blink/public/mojom/printing/web_printing.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* WebPrintingMultipleDocumentHandlingToStringHelper(WebPrintingMultipleDocumentHandling value) { … }
std::string WebPrintingMultipleDocumentHandlingToString(WebPrintingMultipleDocumentHandling value) { … }
std::ostream& operator<<(std::ostream& os, WebPrintingMultipleDocumentHandling value) { … }
NOINLINE static const char* WebPrintingSidesToStringHelper(WebPrintingSides value) { … }
std::string WebPrintingSidesToString(WebPrintingSides value) { … }
std::ostream& operator<<(std::ostream& os, WebPrintingSides value) { … }
NOINLINE static const char* WebPrintColorModeToStringHelper(WebPrintColorMode value) { … }
std::string WebPrintColorModeToString(WebPrintColorMode value) { … }
std::ostream& operator<<(std::ostream& os, WebPrintColorMode value) { … }
NOINLINE static const char* WebPrintingOrientationRequestedToStringHelper(WebPrintingOrientationRequested value) { … }
std::string WebPrintingOrientationRequestedToString(WebPrintingOrientationRequested value) { … }
std::ostream& operator<<(std::ostream& os, WebPrintingOrientationRequested value) { … }
NOINLINE static const char* WebPrinterStateToStringHelper(WebPrinterState value) { … }
std::string WebPrinterStateToString(WebPrinterState value) { … }
std::ostream& operator<<(std::ostream& os, WebPrinterState value) { … }
NOINLINE static const char* WebPrinterStateReasonToStringHelper(WebPrinterStateReason value) { … }
std::string WebPrinterStateReasonToString(WebPrinterStateReason value) { … }
std::ostream& operator<<(std::ostream& os, WebPrinterStateReason value) { … }
NOINLINE static const char* WebPrintJobStateToStringHelper(WebPrintJobState value) { … }
std::string WebPrintJobStateToString(WebPrintJobState value) { … }
std::ostream& operator<<(std::ostream& os, WebPrintJobState value) { … }
NOINLINE static const char* GetPrintersErrorToStringHelper(GetPrintersError value) { … }
std::string GetPrintersErrorToString(GetPrintersError value) { … }
std::ostream& operator<<(std::ostream& os, GetPrintersError value) { … }
NOINLINE static const char* WebPrinterFetchErrorToStringHelper(WebPrinterFetchError value) { … }
std::string WebPrinterFetchErrorToString(WebPrinterFetchError value) { … }
std::ostream& operator<<(std::ostream& os, WebPrinterFetchError value) { … }
NOINLINE static const char* WebPrintErrorToStringHelper(WebPrintError value) { … }
std::string WebPrintErrorToString(WebPrintError value) { … }
std::ostream& operator<<(std::ostream& os, WebPrintError value) { … }
namespace internal {
bool WebPrintingMediaSizeDimension_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool GetPrintersResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool WebPrinterFetchResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool WebPrintResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool WebPrinterInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrinterInfo_Data::WebPrinterInfo_Data()
: … { … }
bool WebPrintingRange_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintingRange_Data::WebPrintingRange_Data()
: … { … }
bool WebPrintingMediaSize_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintingMediaSize_Data::WebPrintingMediaSize_Data()
: … { … }
bool WebPrintingMediaCollection_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintingMediaCollection_Data::WebPrintingMediaCollection_Data()
: … { … }
bool WebPrinterAttributes_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrinterAttributes_Data::WebPrinterAttributes_Data()
: … { … }
bool WebPrintingMediaCollectionRequested_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintingMediaCollectionRequested_Data::WebPrintingMediaCollectionRequested_Data()
: … { … }
bool WebPrintJobTemplateAttributes_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintJobTemplateAttributes_Data::WebPrintJobTemplateAttributes_Data()
: … { … }
bool WebPrintJobUpdate_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintJobUpdate_Data::WebPrintJobUpdate_Data()
: … { … }
bool WebPrintJobInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintJobInfo_Data::WebPrintJobInfo_Data()
: … { … }
bool WebPrintJobStateObserver_OnWebPrintJobUpdate_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintJobStateObserver_OnWebPrintJobUpdate_Params_Data::WebPrintJobStateObserver_OnWebPrintJobUpdate_Params_Data()
: … { … }
bool WebPrintJobController_Cancel_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintJobController_Cancel_Params_Data::WebPrintJobController_Cancel_Params_Data()
: … { … }
bool WebPrinter_FetchAttributes_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrinter_FetchAttributes_Params_Data::WebPrinter_FetchAttributes_Params_Data()
: … { … }
bool WebPrinter_FetchAttributes_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrinter_FetchAttributes_ResponseParams_Data::WebPrinter_FetchAttributes_ResponseParams_Data()
: … { … }
bool WebPrinter_Print_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrinter_Print_Params_Data::WebPrinter_Print_Params_Data()
: … { … }
bool WebPrinter_Print_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrinter_Print_ResponseParams_Data::WebPrinter_Print_ResponseParams_Data()
: … { … }
bool WebPrintingService_GetPrinters_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintingService_GetPrinters_Params_Data::WebPrintingService_GetPrinters_Params_Data()
: … { … }
bool WebPrintingService_GetPrinters_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
WebPrintingService_GetPrinters_ResponseParams_Data::WebPrintingService_GetPrinters_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrintingMultipleDocumentHandling>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrintingMultipleDocumentHandling value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrintingSides>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrintingSides value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrintColorMode>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrintColorMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrintingOrientationRequested>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrintingOrientationRequested value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrinterState>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrinterState value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrinterStateReason>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrinterStateReason value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrintJobState>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrintJobState value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::GetPrintersError>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::GetPrintersError value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrinterFetchError>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrinterFetchError value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::WebPrintError>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::WebPrintError value) { … }
}