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

// components/printing/common/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 "components/printing/common/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 "components/printing/common/print.mojom-params-data.h"
namespace printing {
namespace mojom {

NOINLINE static const char* PrintFailureReasonToStringHelper(PrintFailureReason value) {}

std::string PrintFailureReasonToString(PrintFailureReason value) {}

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

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


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

PreviewIds_Data::PreviewIds_Data()
    :{}


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

RequestPrintPreviewParams_Data::RequestPrintPreviewParams_Data()
    :{}


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

PrintFrameContentParams_Data::PrintFrameContentParams_Data()
    :{}


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

OptionsFromDocumentParams_Data::OptionsFromDocumentParams_Data()
    :{}


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

DidPrintContentParams_Data::DidPrintContentParams_Data()
    :{}


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

DidStartPreviewParams_Data::DidStartPreviewParams_Data()
    :{}


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

DidPreviewPageParams_Data::DidPreviewPageParams_Data()
    :{}


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

DidPreviewDocumentParams_Data::DidPreviewDocumentParams_Data()
    :{}


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

PrintParams_Data::PrintParams_Data()
    :{}


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

PrintPagesParams_Data::PrintPagesParams_Data()
    :{}


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

DidPrintDocumentParams_Data::DidPrintDocumentParams_Data()
    :{}


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

ScriptedPrintParams_Data::ScriptedPrintParams_Data()
    :{}


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

PrintWithParamsResultData_Data::PrintWithParamsResultData_Data()
    :{}


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

PrintPreviewUI_SetOptionsFromDocument_Params_Data::PrintPreviewUI_SetOptionsFromDocument_Params_Data()
    :{}


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

PrintPreviewUI_DidPrepareDocumentForPreview_Params_Data::PrintPreviewUI_DidPrepareDocumentForPreview_Params_Data()
    :{}


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

PrintPreviewUI_DidPreviewPage_Params_Data::PrintPreviewUI_DidPreviewPage_Params_Data()
    :{}


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

PrintPreviewUI_MetafileReadyForPrinting_Params_Data::PrintPreviewUI_MetafileReadyForPrinting_Params_Data()
    :{}


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

PrintPreviewUI_PrintPreviewFailed_Params_Data::PrintPreviewUI_PrintPreviewFailed_Params_Data()
    :{}


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

PrintPreviewUI_PrintPreviewCancelled_Params_Data::PrintPreviewUI_PrintPreviewCancelled_Params_Data()
    :{}


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

PrintPreviewUI_PrinterSettingsInvalid_Params_Data::PrintPreviewUI_PrinterSettingsInvalid_Params_Data()
    :{}


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

PrintPreviewUI_DidGetDefaultPageLayout_Params_Data::PrintPreviewUI_DidGetDefaultPageLayout_Params_Data()
    :{}


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

PrintPreviewUI_DidStartPreview_Params_Data::PrintPreviewUI_DidStartPreview_Params_Data()
    :{}


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

PrintRenderFrame_PrintRequestedPages_Params_Data::PrintRenderFrame_PrintRequestedPages_Params_Data()
    :{}


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

PrintRenderFrame_PrintWithParams_Params_Data::PrintRenderFrame_PrintWithParams_Params_Data()
    :{}


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

PrintRenderFrame_PrintWithParams_ResponseParams_Data::PrintRenderFrame_PrintWithParams_ResponseParams_Data()
    :{}


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

PrintRenderFrame_PrintForSystemDialog_Params_Data::PrintRenderFrame_PrintForSystemDialog_Params_Data()
    :{}


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

PrintRenderFrame_InitiatePrintPreview_Params_Data::PrintRenderFrame_InitiatePrintPreview_Params_Data()
    :{}


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

PrintRenderFrame_SetPrintPreviewUI_Params_Data::PrintRenderFrame_SetPrintPreviewUI_Params_Data()
    :{}


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

PrintRenderFrame_PrintPreview_Params_Data::PrintRenderFrame_PrintPreview_Params_Data()
    :{}


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

PrintRenderFrame_OnPrintPreviewDialogClosed_Params_Data::PrintRenderFrame_OnPrintPreviewDialogClosed_Params_Data()
    :{}


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

PrintRenderFrame_PrintFrameContent_Params_Data::PrintRenderFrame_PrintFrameContent_Params_Data()
    :{}


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

PrintRenderFrame_PrintFrameContent_ResponseParams_Data::PrintRenderFrame_PrintFrameContent_ResponseParams_Data()
    :{}


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

PrintRenderFrame_ConnectToPdfRenderer_Params_Data::PrintRenderFrame_ConnectToPdfRenderer_Params_Data()
    :{}


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

PrintRenderFrame_PrintingDone_Params_Data::PrintRenderFrame_PrintingDone_Params_Data()
    :{}


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

PrintRenderFrame_PrintNodeUnderContextMenu_Params_Data::PrintRenderFrame_PrintNodeUnderContextMenu_Params_Data()
    :{}


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

PrintManagerHost_DidGetPrintedPagesCount_Params_Data::PrintManagerHost_DidGetPrintedPagesCount_Params_Data()
    :{}


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

PrintManagerHost_GetDefaultPrintSettings_Params_Data::PrintManagerHost_GetDefaultPrintSettings_Params_Data()
    :{}


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

PrintManagerHost_GetDefaultPrintSettings_ResponseParams_Data::PrintManagerHost_GetDefaultPrintSettings_ResponseParams_Data()
    :{}


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

PrintManagerHost_DidShowPrintDialog_Params_Data::PrintManagerHost_DidShowPrintDialog_Params_Data()
    :{}


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

PrintManagerHost_DidPrintDocument_Params_Data::PrintManagerHost_DidPrintDocument_Params_Data()
    :{}


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

PrintManagerHost_DidPrintDocument_ResponseParams_Data::PrintManagerHost_DidPrintDocument_ResponseParams_Data()
    :{}


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

PrintManagerHost_IsPrintingEnabled_Params_Data::PrintManagerHost_IsPrintingEnabled_Params_Data()
    :{}


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

PrintManagerHost_IsPrintingEnabled_ResponseParams_Data::PrintManagerHost_IsPrintingEnabled_ResponseParams_Data()
    :{}


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

PrintManagerHost_ScriptedPrint_Params_Data::PrintManagerHost_ScriptedPrint_Params_Data()
    :{}


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

PrintManagerHost_ScriptedPrint_ResponseParams_Data::PrintManagerHost_ScriptedPrint_ResponseParams_Data()
    :{}


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

PrintManagerHost_PrintingFailed_Params_Data::PrintManagerHost_PrintingFailed_Params_Data()
    :{}


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

PrintManagerHost_UpdatePrintSettings_Params_Data::PrintManagerHost_UpdatePrintSettings_Params_Data()
    :{}


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

PrintManagerHost_UpdatePrintSettings_ResponseParams_Data::PrintManagerHost_UpdatePrintSettings_ResponseParams_Data()
    :{}


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

PrintManagerHost_SetupScriptedPrintPreview_Params_Data::PrintManagerHost_SetupScriptedPrintPreview_Params_Data()
    :{}


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

PrintManagerHost_SetupScriptedPrintPreview_ResponseParams_Data::PrintManagerHost_SetupScriptedPrintPreview_ResponseParams_Data()
    :{}


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

PrintManagerHost_ShowScriptedPrintPreview_Params_Data::PrintManagerHost_ShowScriptedPrintPreview_Params_Data()
    :{}


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

PrintManagerHost_RequestPrintPreview_Params_Data::PrintManagerHost_RequestPrintPreview_Params_Data()
    :{}


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

PrintManagerHost_CheckForCancel_Params_Data::PrintManagerHost_CheckForCancel_Params_Data()
    :{}


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

PrintManagerHost_CheckForCancel_ResponseParams_Data::PrintManagerHost_CheckForCancel_ResponseParams_Data()
    :{}


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

PrintManagerHost_SetAccessibilityTree_Params_Data::PrintManagerHost_SetAccessibilityTree_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto