#include "third_party/blink/public/mojom/service_worker/service_worker_container.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/service_worker/service_worker_container.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* ControllerServiceWorkerPurposeToStringHelper(ControllerServiceWorkerPurpose value) { … }
std::string ControllerServiceWorkerPurposeToString(ControllerServiceWorkerPurpose value) { … }
std::ostream& operator<<(std::ostream& os, ControllerServiceWorkerPurpose value) { … }
namespace internal {
bool ServiceWorkerContainerInfoForClient_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerInfoForClient_Data::ServiceWorkerContainerInfoForClient_Data()
: … { … }
bool ServiceWorkerContainerHost_Register_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_Register_Params_Data::ServiceWorkerContainerHost_Register_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_Register_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_Register_ResponseParams_Data::ServiceWorkerContainerHost_Register_ResponseParams_Data()
: … { … }
bool ServiceWorkerContainerHost_GetRegistration_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_GetRegistration_Params_Data::ServiceWorkerContainerHost_GetRegistration_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_GetRegistration_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_GetRegistration_ResponseParams_Data::ServiceWorkerContainerHost_GetRegistration_ResponseParams_Data()
: … { … }
bool ServiceWorkerContainerHost_GetRegistrations_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_GetRegistrations_Params_Data::ServiceWorkerContainerHost_GetRegistrations_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_GetRegistrations_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_GetRegistrations_ResponseParams_Data::ServiceWorkerContainerHost_GetRegistrations_ResponseParams_Data()
: … { … }
bool ServiceWorkerContainerHost_GetRegistrationForReady_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_GetRegistrationForReady_Params_Data::ServiceWorkerContainerHost_GetRegistrationForReady_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_GetRegistrationForReady_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_GetRegistrationForReady_ResponseParams_Data::ServiceWorkerContainerHost_GetRegistrationForReady_ResponseParams_Data()
: … { … }
bool ServiceWorkerContainerHost_EnsureControllerServiceWorker_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_EnsureControllerServiceWorker_Params_Data::ServiceWorkerContainerHost_EnsureControllerServiceWorker_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_CloneContainerHost_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_CloneContainerHost_Params_Data::ServiceWorkerContainerHost_CloneContainerHost_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_HintToUpdateServiceWorker_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_HintToUpdateServiceWorker_Params_Data::ServiceWorkerContainerHost_HintToUpdateServiceWorker_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_EnsureFileAccess_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_EnsureFileAccess_Params_Data::ServiceWorkerContainerHost_EnsureFileAccess_Params_Data()
: … { … }
bool ServiceWorkerContainerHost_EnsureFileAccess_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_EnsureFileAccess_ResponseParams_Data::ServiceWorkerContainerHost_EnsureFileAccess_ResponseParams_Data()
: … { … }
bool ServiceWorkerContainerHost_OnExecutionReady_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainerHost_OnExecutionReady_Params_Data::ServiceWorkerContainerHost_OnExecutionReady_Params_Data()
: … { … }
bool ServiceWorkerContainer_SetController_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainer_SetController_Params_Data::ServiceWorkerContainer_SetController_Params_Data()
: … { … }
bool ServiceWorkerContainer_PostMessageToClient_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainer_PostMessageToClient_Params_Data::ServiceWorkerContainer_PostMessageToClient_Params_Data()
: … { … }
bool ServiceWorkerContainer_CountFeature_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ServiceWorkerContainer_CountFeature_Params_Data::ServiceWorkerContainer_CountFeature_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ControllerServiceWorkerPurpose>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ControllerServiceWorkerPurpose value) { … }
}