chromium/out/Default/gen/services/network/public/mojom/network_context_client.mojom-blink.cc

// services/network/public/mojom/network_context_client.mojom-blink.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 "services/network/public/mojom/network_context_client.mojom-blink.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 "services/network/public/mojom/network_context_client.mojom-params-data.h"
#include "services/network/public/mojom/network_context_client.mojom-shared-message-ids.h"

#include "services/network/public/mojom/network_context_client.mojom-blink-import-headers.h"
#include "services/network/public/mojom/network_context_client.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace network::mojom::blink {
const char NetworkContextClient::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t NetworkContextClient::OnFileUploadRequested_Sym::IPCStableHash() {}
uint32_t NetworkContextClient::OnCanSendReportingReports_Sym::IPCStableHash() {}
uint32_t NetworkContextClient::OnCanSendDomainReliabilityUpload_Sym::IPCStableHash() {}
uint32_t NetworkContextClient::OnCanSendSCTAuditingReport_Sym::IPCStableHash() {}
uint32_t NetworkContextClient::OnNewSCTAuditingReportSent_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class NetworkContextClient_OnFileUploadRequested_ForwardToCallback
    : public mojo::MessageReceiver {};

class NetworkContextClient_OnCanSendReportingReports_ForwardToCallback
    : public mojo::MessageReceiver {};

class NetworkContextClient_OnCanSendDomainReliabilityUpload_ForwardToCallback
    : public mojo::MessageReceiver {};

class NetworkContextClient_OnCanSendSCTAuditingReport_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void NetworkContextClientProxy::OnFileUploadRequested(
    int32_t in_process_id, bool in_async, const WTF::Vector<::base::FilePath>& in_file_paths, const ::blink::KURL& in_destination_url, OnFileUploadRequestedCallback callback) {}

void NetworkContextClientProxy::OnCanSendReportingReports(
    const WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>& in_origins, OnCanSendReportingReportsCallback callback) {}

void NetworkContextClientProxy::OnCanSendDomainReliabilityUpload(
    const ::scoped_refptr<const ::blink::SecurityOrigin>& in_origin, OnCanSendDomainReliabilityUploadCallback callback) {}

void NetworkContextClientProxy::OnCanSendSCTAuditingReport(
    OnCanSendSCTAuditingReportCallback callback) {}

void NetworkContextClientProxy::OnNewSCTAuditingReportSent(
    ) {}
class NetworkContextClient_OnFileUploadRequested_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NetworkContextClient_OnFileUploadRequested_ProxyToResponder::Run(
    int32_t in_net_error, WTF::Vector<::base::File> in_files) {}
class NetworkContextClient_OnCanSendReportingReports_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NetworkContextClient_OnCanSendReportingReports_ProxyToResponder::Run(
    const WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>& in_origins) {}
class NetworkContextClient_OnCanSendDomainReliabilityUpload_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NetworkContextClient_OnCanSendDomainReliabilityUpload_ProxyToResponder::Run(
    bool in_allowed) {}
class NetworkContextClient_OnCanSendSCTAuditingReport_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void NetworkContextClient_OnCanSendSCTAuditingReport_ProxyToResponder::Run(
    bool in_allowed) {}

// static
bool NetworkContextClientStubDispatch::Accept(
    NetworkContextClient* impl,
    mojo::Message* message) {}

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

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

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


}  // network::mojom::blink


namespace mojo {

}  // namespace mojo


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


namespace network::mojom::blink {


void NetworkContextClientInterceptorForTesting::OnFileUploadRequested(int32_t process_id, bool async, const WTF::Vector<::base::FilePath>& file_paths, const ::blink::KURL& destination_url, OnFileUploadRequestedCallback callback) {}
void NetworkContextClientInterceptorForTesting::OnCanSendReportingReports(const WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>& origins, OnCanSendReportingReportsCallback callback) {}
void NetworkContextClientInterceptorForTesting::OnCanSendDomainReliabilityUpload(const ::scoped_refptr<const ::blink::SecurityOrigin>& origin, OnCanSendDomainReliabilityUploadCallback callback) {}
void NetworkContextClientInterceptorForTesting::OnCanSendSCTAuditingReport(OnCanSendSCTAuditingReportCallback callback) {}
void NetworkContextClientInterceptorForTesting::OnNewSCTAuditingReportSent() {}
NetworkContextClientAsyncWaiter::NetworkContextClientAsyncWaiter(
    NetworkContextClient* proxy) :{}

NetworkContextClientAsyncWaiter::~NetworkContextClientAsyncWaiter() = default;

void NetworkContextClientAsyncWaiter::OnFileUploadRequested(
    int32_t process_id, bool async, const WTF::Vector<::base::FilePath>& file_paths, const ::blink::KURL& destination_url, int32_t* out_net_error, WTF::Vector<::base::File>* out_files) {}



void NetworkContextClientAsyncWaiter::OnCanSendReportingReports(
    const WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>& origins, WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>* out_origins) {}

WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>> NetworkContextClientAsyncWaiter::OnCanSendReportingReports(
    const WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>& origins) {}

void NetworkContextClientAsyncWaiter::OnCanSendDomainReliabilityUpload(
    const ::scoped_refptr<const ::blink::SecurityOrigin>& origin, bool* out_allowed) {}

bool NetworkContextClientAsyncWaiter::OnCanSendDomainReliabilityUpload(
    const ::scoped_refptr<const ::blink::SecurityOrigin>& origin) {}

void NetworkContextClientAsyncWaiter::OnCanSendSCTAuditingReport(
    bool* out_allowed) {}

bool NetworkContextClientAsyncWaiter::OnCanSendSCTAuditingReport(
    ) {}






}  // network::mojom::blink


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