#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "services/network/public/mojom/network_param.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/network_param.mojom-params-data.h"
#include "services/network/public/mojom/network_param.mojom-shared-message-ids.h"
#include "services/network/public/mojom/network_param.mojom-import-headers.h"
#include "services/network/public/mojom/network_param.mojom-test-utils.h"
#include "net/cert/cert_verify_result.h"
namespace network::mojom {
AuthChallengeInfo::AuthChallengeInfo()
: … { … }
AuthChallengeInfo::AuthChallengeInfo(
bool is_proxy_in,
const ::url::SchemeHostPort& challenger_in,
const std::string& scheme_in,
const std::string& realm_in,
const std::string& challenge_in,
const std::string& path_in)
: … { … }
AuthChallengeInfo::~AuthChallengeInfo() = default;
void AuthChallengeInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool AuthChallengeInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HttpVersion::HttpVersion()
: … { … }
HttpVersion::HttpVersion(
uint16_t major_value_in,
uint16_t minor_value_in)
: … { … }
HttpVersion::~HttpVersion() = default;
void HttpVersion::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool HttpVersion::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HostPortPair::HostPortPair()
: … { … }
HostPortPair::HostPortPair(
const std::string& host_in,
uint16_t port_in)
: … { … }
HostPortPair::~HostPortPair() = default;
void HostPortPair::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool HostPortPair::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProxyServer::ProxyServer()
: … { … }
ProxyServer::ProxyServer(
::net::ProxyServer::Scheme scheme_in,
const std::optional<::net::HostPortPair>& host_and_port_in)
: … { … }
ProxyServer::~ProxyServer() = default;
void ProxyServer::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ProxyServer::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProxyChain::ProxyChain()
: … { … }
ProxyChain::ProxyChain(
std::optional<std::vector<::net::ProxyServer>> proxy_servers_in,
int32_t ip_protection_chain_id_in)
: … { … }
ProxyChain::~ProxyChain() = default;
void ProxyChain::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ProxyChain::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ResolveErrorInfo::ResolveErrorInfo()
: … { … }
ResolveErrorInfo::ResolveErrorInfo(
int32_t error_in,
bool is_secure_network_error_in)
: … { … }
ResolveErrorInfo::~ResolveErrorInfo() = default;
void ResolveErrorInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ResolveErrorInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SSLCertRequestInfo::SSLCertRequestInfo()
: … { … }
SSLCertRequestInfo::SSLCertRequestInfo(
const ::net::HostPortPair& host_and_port_in,
bool is_proxy_in,
std::vector<std::string> cert_authorities_in,
std::vector<uint16_t> signature_algorithms_in)
: … { … }
SSLCertRequestInfo::~SSLCertRequestInfo() = default;
void SSLCertRequestInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool SSLCertRequestInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NetLogSource::NetLogSource()
: … { … }
NetLogSource::NetLogSource(
uint32_t source_type_in,
uint32_t source_id_in,
::base::TimeTicks start_time_in)
: … { … }
NetLogSource::~NetLogSource() = default;
void NetLogSource::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool NetLogSource::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
}
namespace mojo {
bool StructTraits<::network::mojom::AuthChallengeInfo::DataView, ::network::mojom::AuthChallengeInfoPtr>::Read(
::network::mojom::AuthChallengeInfo::DataView input,
::network::mojom::AuthChallengeInfoPtr* output) { … }
bool StructTraits<::network::mojom::HttpVersion::DataView, ::network::mojom::HttpVersionPtr>::Read(
::network::mojom::HttpVersion::DataView input,
::network::mojom::HttpVersionPtr* output) { … }
bool StructTraits<::network::mojom::HostPortPair::DataView, ::network::mojom::HostPortPairPtr>::Read(
::network::mojom::HostPortPair::DataView input,
::network::mojom::HostPortPairPtr* output) { … }
bool StructTraits<::network::mojom::ProxyServer::DataView, ::network::mojom::ProxyServerPtr>::Read(
::network::mojom::ProxyServer::DataView input,
::network::mojom::ProxyServerPtr* output) { … }
bool StructTraits<::network::mojom::ProxyChain::DataView, ::network::mojom::ProxyChainPtr>::Read(
::network::mojom::ProxyChain::DataView input,
::network::mojom::ProxyChainPtr* output) { … }
bool StructTraits<::network::mojom::ResolveErrorInfo::DataView, ::network::mojom::ResolveErrorInfoPtr>::Read(
::network::mojom::ResolveErrorInfo::DataView input,
::network::mojom::ResolveErrorInfoPtr* output) { … }
bool StructTraits<::network::mojom::SSLCertRequestInfo::DataView, ::network::mojom::SSLCertRequestInfoPtr>::Read(
::network::mojom::SSLCertRequestInfo::DataView input,
::network::mojom::SSLCertRequestInfoPtr* output) { … }
bool StructTraits<::network::mojom::NetLogSource::DataView, ::network::mojom::NetLogSourcePtr>::Read(
::network::mojom::NetLogSource::DataView input,
::network::mojom::NetLogSourcePtr* output) { … }
}
namespace network::mojom {
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif