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

// third_party/blink/public/mojom/permissions/permission.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/permissions/permission.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/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 {
// static
bool PermissionDescriptorExtension_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context,
    bool inlined) {}


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

MidiPermissionDescriptor_Data::MidiPermissionDescriptor_Data()
    :{}


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

ClipboardPermissionDescriptor_Data::ClipboardPermissionDescriptor_Data()
    :{}


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

CameraDevicePermissionDescriptor_Data::CameraDevicePermissionDescriptor_Data()
    :{}


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

TopLevelStorageAccessPermissionDescriptor_Data::TopLevelStorageAccessPermissionDescriptor_Data()
    :{}


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

FullscreenPermissionDescriptor_Data::FullscreenPermissionDescriptor_Data()
    :{}


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

PermissionDescriptor_Data::PermissionDescriptor_Data()
    :{}


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

EmbeddedPermissionRequestDescriptor_Data::EmbeddedPermissionRequestDescriptor_Data()
    :{}


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

PermissionObserver_OnPermissionStatusChange_Params_Data::PermissionObserver_OnPermissionStatusChange_Params_Data()
    :{}


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

EmbeddedPermissionControlClient_OnEmbeddedPermissionControlRegistered_Params_Data::EmbeddedPermissionControlClient_OnEmbeddedPermissionControlRegistered_Params_Data()
    :{}


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

PermissionService_HasPermission_Params_Data::PermissionService_HasPermission_Params_Data()
    :{}


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

PermissionService_HasPermission_ResponseParams_Data::PermissionService_HasPermission_ResponseParams_Data()
    :{}


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

PermissionService_RegisterPageEmbeddedPermissionControl_Params_Data::PermissionService_RegisterPageEmbeddedPermissionControl_Params_Data()
    :{}


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

PermissionService_RequestPageEmbeddedPermission_Params_Data::PermissionService_RequestPageEmbeddedPermission_Params_Data()
    :{}


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

PermissionService_RequestPageEmbeddedPermission_ResponseParams_Data::PermissionService_RequestPageEmbeddedPermission_ResponseParams_Data()
    :{}


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

PermissionService_RequestPermission_Params_Data::PermissionService_RequestPermission_Params_Data()
    :{}


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

PermissionService_RequestPermission_ResponseParams_Data::PermissionService_RequestPermission_ResponseParams_Data()
    :{}


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

PermissionService_RequestPermissions_Params_Data::PermissionService_RequestPermissions_Params_Data()
    :{}


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

PermissionService_RequestPermissions_ResponseParams_Data::PermissionService_RequestPermissions_ResponseParams_Data()
    :{}


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

PermissionService_RevokePermission_Params_Data::PermissionService_RevokePermission_Params_Data()
    :{}


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

PermissionService_RevokePermission_ResponseParams_Data::PermissionService_RevokePermission_ResponseParams_Data()
    :{}


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

PermissionService_AddPermissionObserver_Params_Data::PermissionService_AddPermissionObserver_Params_Data()
    :{}


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

PermissionService_AddPageEmbeddedPermissionObserver_Params_Data::PermissionService_AddPageEmbeddedPermissionObserver_Params_Data()
    :{}


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

PermissionService_NotifyEventListener_Params_Data::PermissionService_NotifyEventListener_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto