#include "third_party/blink/public/mojom/permissions/permission.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/permissions/permission.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* PermissionNameToStringHelper(PermissionName value) { … }
std::string PermissionNameToString(PermissionName value) { … }
std::ostream& operator<<(std::ostream& os, PermissionName value) { … }
NOINLINE static const char* EmbeddedPermissionControlResultToStringHelper(EmbeddedPermissionControlResult value) { … }
std::string EmbeddedPermissionControlResultToString(EmbeddedPermissionControlResult value) { … }
std::ostream& operator<<(std::ostream& os, EmbeddedPermissionControlResult value) { … }
namespace internal {
bool PermissionDescriptorExtension_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool MidiPermissionDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MidiPermissionDescriptor_Data::MidiPermissionDescriptor_Data()
: … { … }
bool ClipboardPermissionDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ClipboardPermissionDescriptor_Data::ClipboardPermissionDescriptor_Data()
: … { … }
bool CameraDevicePermissionDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CameraDevicePermissionDescriptor_Data::CameraDevicePermissionDescriptor_Data()
: … { … }
bool TopLevelStorageAccessPermissionDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TopLevelStorageAccessPermissionDescriptor_Data::TopLevelStorageAccessPermissionDescriptor_Data()
: … { … }
bool FullscreenPermissionDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FullscreenPermissionDescriptor_Data::FullscreenPermissionDescriptor_Data()
: … { … }
bool PermissionDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionDescriptor_Data::PermissionDescriptor_Data()
: … { … }
bool EmbeddedPermissionRequestDescriptor_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
EmbeddedPermissionRequestDescriptor_Data::EmbeddedPermissionRequestDescriptor_Data()
: … { … }
bool PermissionObserver_OnPermissionStatusChange_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionObserver_OnPermissionStatusChange_Params_Data::PermissionObserver_OnPermissionStatusChange_Params_Data()
: … { … }
bool EmbeddedPermissionControlClient_OnEmbeddedPermissionControlRegistered_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
EmbeddedPermissionControlClient_OnEmbeddedPermissionControlRegistered_Params_Data::EmbeddedPermissionControlClient_OnEmbeddedPermissionControlRegistered_Params_Data()
: … { … }
bool PermissionService_HasPermission_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_HasPermission_Params_Data::PermissionService_HasPermission_Params_Data()
: … { … }
bool PermissionService_HasPermission_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_HasPermission_ResponseParams_Data::PermissionService_HasPermission_ResponseParams_Data()
: … { … }
bool PermissionService_RegisterPageEmbeddedPermissionControl_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RegisterPageEmbeddedPermissionControl_Params_Data::PermissionService_RegisterPageEmbeddedPermissionControl_Params_Data()
: … { … }
bool PermissionService_RequestPageEmbeddedPermission_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RequestPageEmbeddedPermission_Params_Data::PermissionService_RequestPageEmbeddedPermission_Params_Data()
: … { … }
bool PermissionService_RequestPageEmbeddedPermission_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RequestPageEmbeddedPermission_ResponseParams_Data::PermissionService_RequestPageEmbeddedPermission_ResponseParams_Data()
: … { … }
bool PermissionService_RequestPermission_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RequestPermission_Params_Data::PermissionService_RequestPermission_Params_Data()
: … { … }
bool PermissionService_RequestPermission_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RequestPermission_ResponseParams_Data::PermissionService_RequestPermission_ResponseParams_Data()
: … { … }
bool PermissionService_RequestPermissions_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RequestPermissions_Params_Data::PermissionService_RequestPermissions_Params_Data()
: … { … }
bool PermissionService_RequestPermissions_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RequestPermissions_ResponseParams_Data::PermissionService_RequestPermissions_ResponseParams_Data()
: … { … }
bool PermissionService_RevokePermission_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RevokePermission_Params_Data::PermissionService_RevokePermission_Params_Data()
: … { … }
bool PermissionService_RevokePermission_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_RevokePermission_ResponseParams_Data::PermissionService_RevokePermission_ResponseParams_Data()
: … { … }
bool PermissionService_AddPermissionObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_AddPermissionObserver_Params_Data::PermissionService_AddPermissionObserver_Params_Data()
: … { … }
bool PermissionService_AddPageEmbeddedPermissionObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_AddPageEmbeddedPermissionObserver_Params_Data::PermissionService_AddPageEmbeddedPermissionObserver_Params_Data()
: … { … }
bool PermissionService_NotifyEventListener_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PermissionService_NotifyEventListener_Params_Data::PermissionService_NotifyEventListener_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::PermissionName>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::PermissionName value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::EmbeddedPermissionControlResult>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::EmbeddedPermissionControlResult value) { … }
}