chromium/out/Default/gen/third_party/blink/public/mojom/service_worker/service_worker.mojom-shared.cc

// third_party/blink/public/mojom/service_worker/service_worker.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 "third_party/blink/public/mojom/service_worker/service_worker.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 "third_party/blink/public/mojom/service_worker/service_worker.mojom-params-data.h"
namespace blink {
namespace mojom {

NOINLINE static const char* FetchHandlerExistenceToStringHelper(FetchHandlerExistence value) {}

std::string FetchHandlerExistenceToString(FetchHandlerExistence value) {}

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

namespace internal {


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

ExtendableMessageEvent_Data::ExtendableMessageEvent_Data()
    :{}


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

ServiceWorkerHost_SetCachedMetadata_Params_Data::ServiceWorkerHost_SetCachedMetadata_Params_Data()
    :{}


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

ServiceWorkerHost_ClearCachedMetadata_Params_Data::ServiceWorkerHost_ClearCachedMetadata_Params_Data()
    :{}


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

ServiceWorkerHost_GetClients_Params_Data::ServiceWorkerHost_GetClients_Params_Data()
    :{}


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

ServiceWorkerHost_GetClients_ResponseParams_Data::ServiceWorkerHost_GetClients_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_GetClient_Params_Data::ServiceWorkerHost_GetClient_Params_Data()
    :{}


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

ServiceWorkerHost_GetClient_ResponseParams_Data::ServiceWorkerHost_GetClient_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_OpenNewTab_Params_Data::ServiceWorkerHost_OpenNewTab_Params_Data()
    :{}


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

ServiceWorkerHost_OpenNewTab_ResponseParams_Data::ServiceWorkerHost_OpenNewTab_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_OpenPaymentHandlerWindow_Params_Data::ServiceWorkerHost_OpenPaymentHandlerWindow_Params_Data()
    :{}


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

ServiceWorkerHost_OpenPaymentHandlerWindow_ResponseParams_Data::ServiceWorkerHost_OpenPaymentHandlerWindow_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_PostMessageToClient_Params_Data::ServiceWorkerHost_PostMessageToClient_Params_Data()
    :{}


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

ServiceWorkerHost_FocusClient_Params_Data::ServiceWorkerHost_FocusClient_Params_Data()
    :{}


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

ServiceWorkerHost_FocusClient_ResponseParams_Data::ServiceWorkerHost_FocusClient_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_NavigateClient_Params_Data::ServiceWorkerHost_NavigateClient_Params_Data()
    :{}


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

ServiceWorkerHost_NavigateClient_ResponseParams_Data::ServiceWorkerHost_NavigateClient_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_SkipWaiting_Params_Data::ServiceWorkerHost_SkipWaiting_Params_Data()
    :{}


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

ServiceWorkerHost_SkipWaiting_ResponseParams_Data::ServiceWorkerHost_SkipWaiting_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_ClaimClients_Params_Data::ServiceWorkerHost_ClaimClients_Params_Data()
    :{}


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

ServiceWorkerHost_ClaimClients_ResponseParams_Data::ServiceWorkerHost_ClaimClients_ResponseParams_Data()
    :{}


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

ServiceWorkerHost_AddRoutes_Params_Data::ServiceWorkerHost_AddRoutes_Params_Data()
    :{}


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

ServiceWorkerHost_AddRoutes_ResponseParams_Data::ServiceWorkerHost_AddRoutes_ResponseParams_Data()
    :{}


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

ServiceWorker_InitializeGlobalScope_Params_Data::ServiceWorker_InitializeGlobalScope_Params_Data()
    :{}


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

ServiceWorker_DispatchInstallEvent_Params_Data::ServiceWorker_DispatchInstallEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchInstallEvent_ResponseParams_Data::ServiceWorker_DispatchInstallEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchActivateEvent_Params_Data::ServiceWorker_DispatchActivateEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchActivateEvent_ResponseParams_Data::ServiceWorker_DispatchActivateEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchAbortEvent_Params_Data::ServiceWorker_DispatchBackgroundFetchAbortEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchAbortEvent_ResponseParams_Data::ServiceWorker_DispatchBackgroundFetchAbortEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchClickEvent_Params_Data::ServiceWorker_DispatchBackgroundFetchClickEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchClickEvent_ResponseParams_Data::ServiceWorker_DispatchBackgroundFetchClickEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchFailEvent_Params_Data::ServiceWorker_DispatchBackgroundFetchFailEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchFailEvent_ResponseParams_Data::ServiceWorker_DispatchBackgroundFetchFailEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchSuccessEvent_Params_Data::ServiceWorker_DispatchBackgroundFetchSuccessEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchBackgroundFetchSuccessEvent_ResponseParams_Data::ServiceWorker_DispatchBackgroundFetchSuccessEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchCookieChangeEvent_Params_Data::ServiceWorker_DispatchCookieChangeEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchCookieChangeEvent_ResponseParams_Data::ServiceWorker_DispatchCookieChangeEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchFetchEventForMainResource_Params_Data::ServiceWorker_DispatchFetchEventForMainResource_Params_Data()
    :{}


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

ServiceWorker_DispatchFetchEventForMainResource_ResponseParams_Data::ServiceWorker_DispatchFetchEventForMainResource_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchNotificationClickEvent_Params_Data::ServiceWorker_DispatchNotificationClickEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchNotificationClickEvent_ResponseParams_Data::ServiceWorker_DispatchNotificationClickEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchNotificationCloseEvent_Params_Data::ServiceWorker_DispatchNotificationCloseEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchNotificationCloseEvent_ResponseParams_Data::ServiceWorker_DispatchNotificationCloseEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchPushEvent_Params_Data::ServiceWorker_DispatchPushEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchPushEvent_ResponseParams_Data::ServiceWorker_DispatchPushEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchPushSubscriptionChangeEvent_Params_Data::ServiceWorker_DispatchPushSubscriptionChangeEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchPushSubscriptionChangeEvent_ResponseParams_Data::ServiceWorker_DispatchPushSubscriptionChangeEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchSyncEvent_Params_Data::ServiceWorker_DispatchSyncEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchSyncEvent_ResponseParams_Data::ServiceWorker_DispatchSyncEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchPeriodicSyncEvent_Params_Data::ServiceWorker_DispatchPeriodicSyncEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchPeriodicSyncEvent_ResponseParams_Data::ServiceWorker_DispatchPeriodicSyncEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchAbortPaymentEvent_Params_Data::ServiceWorker_DispatchAbortPaymentEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchAbortPaymentEvent_ResponseParams_Data::ServiceWorker_DispatchAbortPaymentEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchCanMakePaymentEvent_Params_Data::ServiceWorker_DispatchCanMakePaymentEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchCanMakePaymentEvent_ResponseParams_Data::ServiceWorker_DispatchCanMakePaymentEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchPaymentRequestEvent_Params_Data::ServiceWorker_DispatchPaymentRequestEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchPaymentRequestEvent_ResponseParams_Data::ServiceWorker_DispatchPaymentRequestEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchExtendableMessageEvent_Params_Data::ServiceWorker_DispatchExtendableMessageEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchExtendableMessageEvent_ResponseParams_Data::ServiceWorker_DispatchExtendableMessageEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_DispatchContentDeleteEvent_Params_Data::ServiceWorker_DispatchContentDeleteEvent_Params_Data()
    :{}


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

ServiceWorker_DispatchContentDeleteEvent_ResponseParams_Data::ServiceWorker_DispatchContentDeleteEvent_ResponseParams_Data()
    :{}


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

ServiceWorker_Ping_Params_Data::ServiceWorker_Ping_Params_Data()
    :{}


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

ServiceWorker_Ping_ResponseParams_Data::ServiceWorker_Ping_ResponseParams_Data()
    :{}


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

ServiceWorker_SetIdleDelay_Params_Data::ServiceWorker_SetIdleDelay_Params_Data()
    :{}


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

ServiceWorker_AddKeepAlive_Params_Data::ServiceWorker_AddKeepAlive_Params_Data()
    :{}


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

ServiceWorker_ClearKeepAlive_Params_Data::ServiceWorker_ClearKeepAlive_Params_Data()
    :{}


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

ServiceWorker_AddMessageToConsole_Params_Data::ServiceWorker_AddMessageToConsole_Params_Data()
    :{}


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

ServiceWorker_ExecuteScriptForTest_Params_Data::ServiceWorker_ExecuteScriptForTest_Params_Data()
    :{}


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

ServiceWorker_ExecuteScriptForTest_ResponseParams_Data::ServiceWorker_ExecuteScriptForTest_ResponseParams_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace blink

namespace perfetto {

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

} // namespace perfetto