chromium/out/Default/gen/third_party/blink/public/mojom/frame/policy_container.mojom.cc

// third_party/blink/public/mojom/frame/policy_container.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "third_party/blink/public/mojom/frame/policy_container.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "third_party/blink/public/mojom/frame/policy_container.mojom-params-data.h"
#include "third_party/blink/public/mojom/frame/policy_container.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/frame/policy_container.mojom-import-headers.h"
#include "third_party/blink/public/mojom/frame/policy_container.mojom-test-utils.h"


namespace blink::mojom {
PolicyContainerPolicies::PolicyContainerPolicies()
    :{}

PolicyContainerPolicies::PolicyContainerPolicies(
    const ::network::CrossOriginEmbedderPolicy& cross_origin_embedder_policy_in,
    ::network::mojom::ReferrerPolicy referrer_policy_in,
    std::vector<::network::mojom::ContentSecurityPolicyPtr> content_security_policies_in,
    bool is_credentialless_in,
    ::network::mojom::WebSandboxFlags sandbox_flags_in,
    ::network::mojom::IPAddressSpace ip_address_space_in,
    bool can_navigate_top_without_user_gesture_in,
    bool allow_cross_origin_isolation_in)
    :{}

PolicyContainerPolicies::~PolicyContainerPolicies() = default;

void PolicyContainerPolicies::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PolicyContainerPolicies::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PolicyContainer::PolicyContainer()
    :{}

PolicyContainer::PolicyContainer(
    PolicyContainerPoliciesPtr policies_in,
    ::mojo::PendingAssociatedRemote<PolicyContainerHost> remote_in)
    :{}

PolicyContainer::~PolicyContainer() = default;

void PolicyContainer::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PolicyContainer::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PolicyContainerBindParams::PolicyContainerBindParams()
    :{}

PolicyContainerBindParams::PolicyContainerBindParams(
    ::mojo::PendingAssociatedReceiver<PolicyContainerHost> receiver_in)
    :{}

PolicyContainerBindParams::~PolicyContainerBindParams() = default;

void PolicyContainerBindParams::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PolicyContainerBindParams::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char PolicyContainerHost::Name_[] =;

PolicyContainerHost::IPCStableHashFunction PolicyContainerHost::MessageToMethodInfo_(mojo::Message& message) {}


const char* PolicyContainerHost::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t PolicyContainerHost::SetReferrerPolicy_Sym::IPCStableHash() {}
uint32_t PolicyContainerHost::AddContentSecurityPolicies_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

PolicyContainerHostProxy::PolicyContainerHostProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void PolicyContainerHostProxy::SetReferrerPolicy(
    ::network::mojom::ReferrerPolicy in_referrer_policy) {}

void PolicyContainerHostProxy::AddContentSecurityPolicies(
    std::vector<::network::mojom::ContentSecurityPolicyPtr> in_content_security_policies) {}

// static
bool PolicyContainerHostStubDispatch::Accept(
    PolicyContainerHost* impl,
    mojo::Message* message) {}

// static
bool PolicyContainerHostStubDispatch::AcceptWithResponder(
    PolicyContainerHost* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kPolicyContainerHostValidationInfo[] =;

bool PolicyContainerHostRequestValidator::Accept(mojo::Message* message) {}



}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::PolicyContainerPolicies::DataView, ::blink::mojom::PolicyContainerPoliciesPtr>::Read(
    ::blink::mojom::PolicyContainerPolicies::DataView input,
    ::blink::mojom::PolicyContainerPoliciesPtr* output) {}


// static
bool StructTraits<::blink::mojom::PolicyContainer::DataView, ::blink::mojom::PolicyContainerPtr>::Read(
    ::blink::mojom::PolicyContainer::DataView input,
    ::blink::mojom::PolicyContainerPtr* output) {}


// static
bool StructTraits<::blink::mojom::PolicyContainerBindParams::DataView, ::blink::mojom::PolicyContainerBindParamsPtr>::Read(
    ::blink::mojom::PolicyContainerBindParams::DataView input,
    ::blink::mojom::PolicyContainerBindParamsPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace blink::mojom {


void PolicyContainerHostInterceptorForTesting::SetReferrerPolicy(::network::mojom::ReferrerPolicy referrer_policy) {}
void PolicyContainerHostInterceptorForTesting::AddContentSecurityPolicies(std::vector<::network::mojom::ContentSecurityPolicyPtr> content_security_policies) {}
PolicyContainerHostAsyncWaiter::PolicyContainerHostAsyncWaiter(
    PolicyContainerHost* proxy) :{}

PolicyContainerHostAsyncWaiter::~PolicyContainerHostAsyncWaiter() = default;






}  // blink::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif