#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "services/network/public/mojom/p2p_trusted.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 "services/network/public/mojom/p2p_trusted.mojom-params-data.h"
#include "services/network/public/mojom/p2p_trusted.mojom-shared-message-ids.h"
#include "services/network/public/mojom/p2p_trusted.mojom-import-headers.h"
#include "services/network/public/mojom/p2p_trusted.mojom-test-utils.h"
namespace network::mojom {
const char P2PTrustedSocketManagerClient::Name_[] = …;
P2PTrustedSocketManagerClient::IPCStableHashFunction P2PTrustedSocketManagerClient::MessageToMethodInfo_(mojo::Message& message) { … }
const char* P2PTrustedSocketManagerClient::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t P2PTrustedSocketManagerClient::InvalidSocketPortRangeRequested_Sym::IPCStableHash() { … }
uint32_t P2PTrustedSocketManagerClient::DumpPacket_Sym::IPCStableHash() { … }
# endif
P2PTrustedSocketManagerClientProxy::P2PTrustedSocketManagerClientProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void P2PTrustedSocketManagerClientProxy::InvalidSocketPortRangeRequested(
) { … }
void P2PTrustedSocketManagerClientProxy::DumpPacket(
const std::vector<uint8_t>& in_packet_header, uint64_t in_packet_length, bool in_incoming) { … }
bool P2PTrustedSocketManagerClientStubDispatch::Accept(
P2PTrustedSocketManagerClient* impl,
mojo::Message* message) { … }
bool P2PTrustedSocketManagerClientStubDispatch::AcceptWithResponder(
P2PTrustedSocketManagerClient* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kP2PTrustedSocketManagerClientValidationInfo[] = …;
bool P2PTrustedSocketManagerClientRequestValidator::Accept(mojo::Message* message) { … }
const char P2PTrustedSocketManager::Name_[] = …;
P2PTrustedSocketManager::IPCStableHashFunction P2PTrustedSocketManager::MessageToMethodInfo_(mojo::Message& message) { … }
const char* P2PTrustedSocketManager::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t P2PTrustedSocketManager::StartRtpDump_Sym::IPCStableHash() { … }
uint32_t P2PTrustedSocketManager::StopRtpDump_Sym::IPCStableHash() { … }
uint32_t P2PTrustedSocketManager::PauseNetworkChangeNotifications_Sym::IPCStableHash() { … }
uint32_t P2PTrustedSocketManager::ResumeNetworkChangeNotifications_Sym::IPCStableHash() { … }
# endif
P2PTrustedSocketManagerProxy::P2PTrustedSocketManagerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void P2PTrustedSocketManagerProxy::StartRtpDump(
bool in_incoming, bool in_outgoing) { … }
void P2PTrustedSocketManagerProxy::StopRtpDump(
bool in_incoming, bool in_outgoing) { … }
void P2PTrustedSocketManagerProxy::PauseNetworkChangeNotifications(
) { … }
void P2PTrustedSocketManagerProxy::ResumeNetworkChangeNotifications(
) { … }
bool P2PTrustedSocketManagerStubDispatch::Accept(
P2PTrustedSocketManager* impl,
mojo::Message* message) { … }
bool P2PTrustedSocketManagerStubDispatch::AcceptWithResponder(
P2PTrustedSocketManager* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kP2PTrustedSocketManagerValidationInfo[] = …;
bool P2PTrustedSocketManagerRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
}
namespace network::mojom {
void P2PTrustedSocketManagerClientInterceptorForTesting::InvalidSocketPortRangeRequested() { … }
void P2PTrustedSocketManagerClientInterceptorForTesting::DumpPacket(const std::vector<uint8_t>& packet_header, uint64_t packet_length, bool incoming) { … }
P2PTrustedSocketManagerClientAsyncWaiter::P2PTrustedSocketManagerClientAsyncWaiter(
P2PTrustedSocketManagerClient* proxy) : … { … }
P2PTrustedSocketManagerClientAsyncWaiter::~P2PTrustedSocketManagerClientAsyncWaiter() = default;
void P2PTrustedSocketManagerInterceptorForTesting::StartRtpDump(bool incoming, bool outgoing) { … }
void P2PTrustedSocketManagerInterceptorForTesting::StopRtpDump(bool incoming, bool outgoing) { … }
void P2PTrustedSocketManagerInterceptorForTesting::PauseNetworkChangeNotifications() { … }
void P2PTrustedSocketManagerInterceptorForTesting::ResumeNetworkChangeNotifications() { … }
P2PTrustedSocketManagerAsyncWaiter::P2PTrustedSocketManagerAsyncWaiter(
P2PTrustedSocketManager* proxy) : … { … }
P2PTrustedSocketManagerAsyncWaiter::~P2PTrustedSocketManagerAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif