#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "services/network/public/mojom/network_service.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_service.mojom-params-data.h"
#include "services/network/public/mojom/network_service.mojom-shared-message-ids.h"
#include "services/network/public/mojom/network_service.mojom-blink-import-headers.h"
#include "services/network/public/mojom/network_service.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
namespace network::mojom::blink {
HttpAuthStaticParams::HttpAuthStaticParams()
: … { … }
HttpAuthStaticParams::HttpAuthStaticParams(
const WTF::String& gssapi_library_name_in)
: … { … }
HttpAuthStaticParams::~HttpAuthStaticParams() = default;
size_t HttpAuthStaticParams::Hash(size_t seed) const { … }
void HttpAuthStaticParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool HttpAuthStaticParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HttpAuthDynamicParams::HttpAuthDynamicParams()
: … { … }
HttpAuthDynamicParams::HttpAuthDynamicParams(
std::optional<WTF::Vector<WTF::String>> allowed_schemes_in,
WTF::Vector<WTF::String> patterns_allowed_to_use_all_schemes_in,
const WTF::String& server_allowlist_in,
const WTF::String& delegate_allowlist_in,
bool delegate_by_kdc_policy_in,
bool negotiate_disable_cname_lookup_in,
bool enable_negotiate_port_in,
bool ntlm_v2_enabled_in,
const WTF::String& android_negotiate_account_type_in,
bool allow_gssapi_library_load_in,
bool basic_over_http_enabled_in)
: … { … }
HttpAuthDynamicParams::~HttpAuthDynamicParams() = default;
void HttpAuthDynamicParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool HttpAuthDynamicParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
EnvironmentVariable::EnvironmentVariable()
: … { … }
EnvironmentVariable::EnvironmentVariable(
const WTF::String& name_in,
const WTF::String& value_in)
: … { … }
EnvironmentVariable::~EnvironmentVariable() = default;
size_t EnvironmentVariable::Hash(size_t seed) const { … }
void EnvironmentVariable::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool EnvironmentVariable::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NetworkServiceParams::NetworkServiceParams()
: … { … }
NetworkServiceParams::NetworkServiceParams(
::network::mojom::blink::ConnectionType initial_connection_type_in,
::network::mojom::blink::ConnectionSubtype initial_connection_subtype_in,
::network::mojom::blink::InitialAddressMapPtr initial_address_map_in,
WTF::Vector<EnvironmentVariablePtr> environment_in,
::mojo::PendingRemote<::network::mojom::blink::URLLoaderNetworkServiceObserver> default_observer_in,
bool first_party_sets_enabled_in,
::mojo::PendingRemote<::network::mojom::blink::SystemDnsResolver> system_dns_resolver_in,
::network::mojom::blink::IpProtectionProxyBypassPolicy ip_protection_proxy_bypass_policy_in)
: … { … }
NetworkServiceParams::~NetworkServiceParams() = default;
void NetworkServiceParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool NetworkServiceParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SCTAuditingConfiguration::SCTAuditingConfiguration()
: … { … }
SCTAuditingConfiguration::SCTAuditingConfiguration(
double sampling_rate_in,
::base::TimeDelta log_expected_ingestion_delay_in,
::base::TimeDelta log_max_ingestion_random_delay_in,
const ::blink::KURL& report_uri_in,
const ::blink::KURL& hashdance_lookup_uri_in,
const ::net::MutableNetworkTrafficAnnotationTag& traffic_annotation_in,
const ::net::MutableNetworkTrafficAnnotationTag& hashdance_traffic_annotation_in)
: … { … }
SCTAuditingConfiguration::~SCTAuditingConfiguration() = default;
void SCTAuditingConfiguration::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool SCTAuditingConfiguration::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char GssapiLibraryLoadObserver::Name_[] = …;
GssapiLibraryLoadObserver::IPCStableHashFunction GssapiLibraryLoadObserver::MessageToMethodInfo_(mojo::Message& message) { … }
const char* GssapiLibraryLoadObserver::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t GssapiLibraryLoadObserver::OnBeforeGssapiLibraryLoad_Sym::IPCStableHash() { … }
# endif
GssapiLibraryLoadObserverProxy::GssapiLibraryLoadObserverProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void GssapiLibraryLoadObserverProxy::OnBeforeGssapiLibraryLoad(
) { … }
bool GssapiLibraryLoadObserverStubDispatch::Accept(
GssapiLibraryLoadObserver* impl,
mojo::Message* message) { … }
bool GssapiLibraryLoadObserverStubDispatch::AcceptWithResponder(
GssapiLibraryLoadObserver* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kGssapiLibraryLoadObserverValidationInfo[] = …;
bool GssapiLibraryLoadObserverRequestValidator::Accept(mojo::Message* message) { … }
const char NetworkService::Name_[] = …;
NetworkService::IPCStableHashFunction NetworkService::MessageToMethodInfo_(mojo::Message& message) { … }
const char* NetworkService::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t NetworkService::SetParams_Sym::IPCStableHash() { … }
uint32_t NetworkService::StartNetLog_Sym::IPCStableHash() { … }
uint32_t NetworkService::AttachNetLogProxy_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetSSLKeyLogFile_Sym::IPCStableHash() { … }
uint32_t NetworkService::CreateNetworkContext_Sym::IPCStableHash() { … }
uint32_t NetworkService::ConfigureStubHostResolver_Sym::IPCStableHash() { … }
uint32_t NetworkService::DisableQuic_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetUpHttpAuth_Sym::IPCStableHash() { … }
uint32_t NetworkService::ConfigureHttpAuthPrefs_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetRawHeadersAccess_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetMaxConnectionsPerProxyChain_Sym::IPCStableHash() { … }
uint32_t NetworkService::GetNetworkChangeManager_Sym::IPCStableHash() { … }
uint32_t NetworkService::GetNetworkQualityEstimatorManager_Sym::IPCStableHash() { … }
uint32_t NetworkService::GetDnsConfigChangeManager_Sym::IPCStableHash() { … }
uint32_t NetworkService::GetNetworkList_Sym::IPCStableHash() { … }
uint32_t NetworkService::OnTrustStoreChanged_Sym::IPCStableHash() { … }
uint32_t NetworkService::OnClientCertStoreChanged_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetEncryptionKey_Sym::IPCStableHash() { … }
uint32_t NetworkService::OnMemoryPressure_Sym::IPCStableHash() { … }
uint32_t NetworkService::OnPeerToPeerConnectionsCountChange_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetTrustTokenKeyCommitments_Sym::IPCStableHash() { … }
uint32_t NetworkService::ClearSCTAuditingCache_Sym::IPCStableHash() { … }
uint32_t NetworkService::ConfigureSCTAuditing_Sym::IPCStableHash() { … }
uint32_t NetworkService::UpdateCtLogList_Sym::IPCStableHash() { … }
uint32_t NetworkService::UpdateCtKnownPopularSCTs_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetCtEnforcementEnabled_Sym::IPCStableHash() { … }
uint32_t NetworkService::UpdateKeyPinsList_Sym::IPCStableHash() { … }
uint32_t NetworkService::BindTestInterfaceForTesting_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetFirstPartySets_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetExplicitlyAllowedPorts_Sym::IPCStableHash() { … }
uint32_t NetworkService::UpdateMaskedDomainList_Sym::IPCStableHash() { … }
uint32_t NetworkService::ParseHeaders_Sym::IPCStableHash() { … }
uint32_t NetworkService::EnableDataUseUpdates_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetIPv6ReachabilityOverride_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetGssapiLibraryLoadObserver_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetNetworkAnnotationMonitor_Sym::IPCStableHash() { … }
uint32_t NetworkService::SetTpcdMetadataGrants_Sym::IPCStableHash() { … }
# endif
class NetworkService_GetNetworkList_ForwardToCallback
: public mojo::MessageReceiver { … };
class NetworkService_SetTrustTokenKeyCommitments_ForwardToCallback
: public mojo::MessageReceiver { … };
class NetworkService_UpdateCtLogList_ForwardToCallback
: public mojo::MessageReceiver { … };
class NetworkService_UpdateCtKnownPopularSCTs_ForwardToCallback
: public mojo::MessageReceiver { … };
class NetworkService_SetCtEnforcementEnabled_ForwardToCallback
: public mojo::MessageReceiver { … };
class NetworkService_ParseHeaders_ForwardToCallback
: public mojo::MessageReceiver { … };
NetworkServiceProxy::NetworkServiceProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void NetworkServiceProxy::SetParams(
NetworkServiceParamsPtr in_params) { … }
void NetworkServiceProxy::StartNetLog(
::base::File in_file, uint64_t in_max_total_size, ::network::mojom::blink::NetLogCaptureMode in_capture_mode, ::base::Value::Dict in_constants) { … }
void NetworkServiceProxy::AttachNetLogProxy(
::mojo::PendingRemote<::network::mojom::blink::NetLogProxySource> in_proxy_source, ::mojo::PendingReceiver<::network::mojom::blink::NetLogProxySink> in_proxy_sink) { … }
void NetworkServiceProxy::SetSSLKeyLogFile(
::base::File in_file) { … }
void NetworkServiceProxy::CreateNetworkContext(
::mojo::PendingReceiver<::network::mojom::blink::NetworkContext> in_context, ::network::mojom::blink::NetworkContextParamsPtr in_params) { … }
void NetworkServiceProxy::ConfigureStubHostResolver(
bool in_insecure_dns_client_enabled, ::network::mojom::blink::SecureDnsMode in_secure_dns_mode, ::network::mojom::blink::DnsOverHttpsConfigPtr in_dns_over_https_config, bool in_additional_dns_types_enabled) { … }
void NetworkServiceProxy::DisableQuic(
) { … }
void NetworkServiceProxy::SetUpHttpAuth(
HttpAuthStaticParamsPtr in_http_auth_static_params) { … }
void NetworkServiceProxy::ConfigureHttpAuthPrefs(
HttpAuthDynamicParamsPtr in_http_auth_dynamic_params) { … }
void NetworkServiceProxy::SetRawHeadersAccess(
int32_t in_process_id, const WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>& in_origins) { … }
void NetworkServiceProxy::SetMaxConnectionsPerProxyChain(
int32_t in_max_connections) { … }
void NetworkServiceProxy::GetNetworkChangeManager(
::mojo::PendingReceiver<::network::mojom::blink::NetworkChangeManager> in_network_change_manager) { … }
void NetworkServiceProxy::GetNetworkQualityEstimatorManager(
::mojo::PendingReceiver<::network::mojom::blink::NetworkQualityEstimatorManager> in_receiver) { … }
void NetworkServiceProxy::GetDnsConfigChangeManager(
::mojo::PendingReceiver<::network::mojom::blink::DnsConfigChangeManager> in_receiver) { … }
void NetworkServiceProxy::GetNetworkList(
uint32_t in_policy, GetNetworkListCallback callback) { … }
void NetworkServiceProxy::OnTrustStoreChanged(
) { … }
void NetworkServiceProxy::OnClientCertStoreChanged(
) { … }
void NetworkServiceProxy::SetEncryptionKey(
const std::string& in_encryption_key) { … }
void NetworkServiceProxy::OnMemoryPressure(
::mojo_base::mojom::blink::MemoryPressureLevel in_memory_pressure_level) { … }
void NetworkServiceProxy::OnPeerToPeerConnectionsCountChange(
uint32_t in_count) { … }
void NetworkServiceProxy::SetTrustTokenKeyCommitments(
const WTF::String& in_raw_commitments, SetTrustTokenKeyCommitmentsCallback callback) { … }
void NetworkServiceProxy::ClearSCTAuditingCache(
) { … }
void NetworkServiceProxy::ConfigureSCTAuditing(
SCTAuditingConfigurationPtr in_configuration) { … }
void NetworkServiceProxy::UpdateCtLogList(
WTF::Vector<::network::mojom::blink::CTLogInfoPtr> in_log_list, UpdateCtLogListCallback callback) { … }
void NetworkServiceProxy::UpdateCtKnownPopularSCTs(
const WTF::Vector<WTF::Vector<uint8_t>>& in_sct_hashes, UpdateCtKnownPopularSCTsCallback callback) { … }
void NetworkServiceProxy::SetCtEnforcementEnabled(
bool in_enabled, SetCtEnforcementEnabledCallback callback) { … }
void NetworkServiceProxy::UpdateKeyPinsList(
::network::mojom::blink::PinListPtr in_pin_list, ::base::Time in_update_time) { … }
void NetworkServiceProxy::BindTestInterfaceForTesting(
::mojo::PendingReceiver<::network::mojom::blink::NetworkServiceTest> in_receiver) { … }
void NetworkServiceProxy::SetFirstPartySets(
::network::mojom::blink::GlobalFirstPartySetsPtr in_sets) { … }
void NetworkServiceProxy::SetExplicitlyAllowedPorts(
const WTF::Vector<uint16_t>& in_ports) { … }
void NetworkServiceProxy::UpdateMaskedDomainList(
::mojo_base::ProtoWrapper in_masked_domain_list, const WTF::Vector<WTF::String>& in_exclusion_list) { … }
void NetworkServiceProxy::ParseHeaders(
const ::blink::KURL& in_url, ::network::mojom::blink::HttpResponseHeadersPtr in_headers, ParseHeadersCallback callback) { … }
void NetworkServiceProxy::EnableDataUseUpdates(
bool in_enable) { … }
void NetworkServiceProxy::SetIPv6ReachabilityOverride(
bool in_reachability_override) { … }
void NetworkServiceProxy::SetGssapiLibraryLoadObserver(
::mojo::PendingRemote<GssapiLibraryLoadObserver> in_gssapi_library_load_observer) { … }
void NetworkServiceProxy::SetNetworkAnnotationMonitor(
::mojo::PendingRemote<::network::mojom::blink::NetworkAnnotationMonitor> in_remote) { … }
void NetworkServiceProxy::SetTpcdMetadataGrants(
WTF::Vector<::content_settings::mojom::blink::ContentSettingPatternSourcePtr> in_settings) { … }
class NetworkService_GetNetworkList_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool NetworkService_GetNetworkList_ForwardToCallback::Accept(
mojo::Message* message) { … }
void NetworkService_GetNetworkList_ProxyToResponder::Run(
const std::optional<WTF::Vector<::net::NetworkInterface>>& in_networks) { … }
class NetworkService_SetTrustTokenKeyCommitments_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool NetworkService_SetTrustTokenKeyCommitments_ForwardToCallback::Accept(
mojo::Message* message) { … }
void NetworkService_SetTrustTokenKeyCommitments_ProxyToResponder::Run(
) { … }
class NetworkService_UpdateCtLogList_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool NetworkService_UpdateCtLogList_ForwardToCallback::Accept(
mojo::Message* message) { … }
void NetworkService_UpdateCtLogList_ProxyToResponder::Run(
) { … }
class NetworkService_UpdateCtKnownPopularSCTs_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool NetworkService_UpdateCtKnownPopularSCTs_ForwardToCallback::Accept(
mojo::Message* message) { … }
void NetworkService_UpdateCtKnownPopularSCTs_ProxyToResponder::Run(
) { … }
class NetworkService_SetCtEnforcementEnabled_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool NetworkService_SetCtEnforcementEnabled_ForwardToCallback::Accept(
mojo::Message* message) { … }
void NetworkService_SetCtEnforcementEnabled_ProxyToResponder::Run(
) { … }
class NetworkService_ParseHeaders_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool NetworkService_ParseHeaders_ForwardToCallback::Accept(
mojo::Message* message) { … }
void NetworkService_ParseHeaders_ProxyToResponder::Run(
::network::mojom::blink::ParsedHeadersPtr in_parsed_headers) { … }
bool NetworkServiceStubDispatch::Accept(
NetworkService* impl,
mojo::Message* message) { … }
bool NetworkServiceStubDispatch::AcceptWithResponder(
NetworkService* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kNetworkServiceValidationInfo[] = …;
bool NetworkServiceRequestValidator::Accept(mojo::Message* message) { … }
bool NetworkServiceResponseValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::network::mojom::blink::HttpAuthStaticParams::DataView, ::network::mojom::blink::HttpAuthStaticParamsPtr>::Read(
::network::mojom::blink::HttpAuthStaticParams::DataView input,
::network::mojom::blink::HttpAuthStaticParamsPtr* output) { … }
bool StructTraits<::network::mojom::blink::HttpAuthDynamicParams::DataView, ::network::mojom::blink::HttpAuthDynamicParamsPtr>::Read(
::network::mojom::blink::HttpAuthDynamicParams::DataView input,
::network::mojom::blink::HttpAuthDynamicParamsPtr* output) { … }
bool StructTraits<::network::mojom::blink::EnvironmentVariable::DataView, ::network::mojom::blink::EnvironmentVariablePtr>::Read(
::network::mojom::blink::EnvironmentVariable::DataView input,
::network::mojom::blink::EnvironmentVariablePtr* output) { … }
bool StructTraits<::network::mojom::blink::NetworkServiceParams::DataView, ::network::mojom::blink::NetworkServiceParamsPtr>::Read(
::network::mojom::blink::NetworkServiceParams::DataView input,
::network::mojom::blink::NetworkServiceParamsPtr* output) { … }
bool StructTraits<::network::mojom::blink::SCTAuditingConfiguration::DataView, ::network::mojom::blink::SCTAuditingConfigurationPtr>::Read(
::network::mojom::blink::SCTAuditingConfiguration::DataView input,
::network::mojom::blink::SCTAuditingConfigurationPtr* output) { … }
}
namespace network::mojom::blink {
void GssapiLibraryLoadObserverInterceptorForTesting::OnBeforeGssapiLibraryLoad() { … }
GssapiLibraryLoadObserverAsyncWaiter::GssapiLibraryLoadObserverAsyncWaiter(
GssapiLibraryLoadObserver* proxy) : … { … }
GssapiLibraryLoadObserverAsyncWaiter::~GssapiLibraryLoadObserverAsyncWaiter() = default;
void NetworkServiceInterceptorForTesting::SetParams(NetworkServiceParamsPtr params) { … }
void NetworkServiceInterceptorForTesting::StartNetLog(::base::File file, uint64_t max_total_size, ::network::mojom::blink::NetLogCaptureMode capture_mode, ::base::Value::Dict constants) { … }
void NetworkServiceInterceptorForTesting::AttachNetLogProxy(::mojo::PendingRemote<::network::mojom::blink::NetLogProxySource> proxy_source, ::mojo::PendingReceiver<::network::mojom::blink::NetLogProxySink> proxy_sink) { … }
void NetworkServiceInterceptorForTesting::SetSSLKeyLogFile(::base::File file) { … }
void NetworkServiceInterceptorForTesting::CreateNetworkContext(::mojo::PendingReceiver<::network::mojom::blink::NetworkContext> context, ::network::mojom::blink::NetworkContextParamsPtr params) { … }
void NetworkServiceInterceptorForTesting::ConfigureStubHostResolver(bool insecure_dns_client_enabled, ::network::mojom::blink::SecureDnsMode secure_dns_mode, ::network::mojom::blink::DnsOverHttpsConfigPtr dns_over_https_config, bool additional_dns_types_enabled) { … }
void NetworkServiceInterceptorForTesting::DisableQuic() { … }
void NetworkServiceInterceptorForTesting::SetUpHttpAuth(HttpAuthStaticParamsPtr http_auth_static_params) { … }
void NetworkServiceInterceptorForTesting::ConfigureHttpAuthPrefs(HttpAuthDynamicParamsPtr http_auth_dynamic_params) { … }
void NetworkServiceInterceptorForTesting::SetRawHeadersAccess(int32_t process_id, const WTF::Vector<::scoped_refptr<const ::blink::SecurityOrigin>>& origins) { … }
void NetworkServiceInterceptorForTesting::SetMaxConnectionsPerProxyChain(int32_t max_connections) { … }
void NetworkServiceInterceptorForTesting::GetNetworkChangeManager(::mojo::PendingReceiver<::network::mojom::blink::NetworkChangeManager> network_change_manager) { … }
void NetworkServiceInterceptorForTesting::GetNetworkQualityEstimatorManager(::mojo::PendingReceiver<::network::mojom::blink::NetworkQualityEstimatorManager> receiver) { … }
void NetworkServiceInterceptorForTesting::GetDnsConfigChangeManager(::mojo::PendingReceiver<::network::mojom::blink::DnsConfigChangeManager> receiver) { … }
void NetworkServiceInterceptorForTesting::GetNetworkList(uint32_t policy, GetNetworkListCallback callback) { … }
void NetworkServiceInterceptorForTesting::OnTrustStoreChanged() { … }
void NetworkServiceInterceptorForTesting::OnClientCertStoreChanged() { … }
void NetworkServiceInterceptorForTesting::SetEncryptionKey(const std::string& encryption_key) { … }
void NetworkServiceInterceptorForTesting::OnMemoryPressure(::mojo_base::mojom::blink::MemoryPressureLevel memory_pressure_level) { … }
void NetworkServiceInterceptorForTesting::OnPeerToPeerConnectionsCountChange(uint32_t count) { … }
void NetworkServiceInterceptorForTesting::SetTrustTokenKeyCommitments(const WTF::String& raw_commitments, SetTrustTokenKeyCommitmentsCallback callback) { … }
void NetworkServiceInterceptorForTesting::ClearSCTAuditingCache() { … }
void NetworkServiceInterceptorForTesting::ConfigureSCTAuditing(SCTAuditingConfigurationPtr configuration) { … }
void NetworkServiceInterceptorForTesting::UpdateCtLogList(WTF::Vector<::network::mojom::blink::CTLogInfoPtr> log_list, UpdateCtLogListCallback callback) { … }
void NetworkServiceInterceptorForTesting::UpdateCtKnownPopularSCTs(const WTF::Vector<WTF::Vector<uint8_t>>& sct_hashes, UpdateCtKnownPopularSCTsCallback callback) { … }
void NetworkServiceInterceptorForTesting::SetCtEnforcementEnabled(bool enabled, SetCtEnforcementEnabledCallback callback) { … }
void NetworkServiceInterceptorForTesting::UpdateKeyPinsList(::network::mojom::blink::PinListPtr pin_list, ::base::Time update_time) { … }
void NetworkServiceInterceptorForTesting::BindTestInterfaceForTesting(::mojo::PendingReceiver<::network::mojom::blink::NetworkServiceTest> receiver) { … }
void NetworkServiceInterceptorForTesting::SetFirstPartySets(::network::mojom::blink::GlobalFirstPartySetsPtr sets) { … }
void NetworkServiceInterceptorForTesting::SetExplicitlyAllowedPorts(const WTF::Vector<uint16_t>& ports) { … }
void NetworkServiceInterceptorForTesting::UpdateMaskedDomainList(::mojo_base::ProtoWrapper masked_domain_list, const WTF::Vector<WTF::String>& exclusion_list) { … }
void NetworkServiceInterceptorForTesting::ParseHeaders(const ::blink::KURL& url, ::network::mojom::blink::HttpResponseHeadersPtr headers, ParseHeadersCallback callback) { … }
void NetworkServiceInterceptorForTesting::EnableDataUseUpdates(bool enable) { … }
void NetworkServiceInterceptorForTesting::SetIPv6ReachabilityOverride(bool reachability_override) { … }
void NetworkServiceInterceptorForTesting::SetGssapiLibraryLoadObserver(::mojo::PendingRemote<GssapiLibraryLoadObserver> gssapi_library_load_observer) { … }
void NetworkServiceInterceptorForTesting::SetNetworkAnnotationMonitor(::mojo::PendingRemote<::network::mojom::blink::NetworkAnnotationMonitor> remote) { … }
void NetworkServiceInterceptorForTesting::SetTpcdMetadataGrants(WTF::Vector<::content_settings::mojom::blink::ContentSettingPatternSourcePtr> settings) { … }
NetworkServiceAsyncWaiter::NetworkServiceAsyncWaiter(
NetworkService* proxy) : … { … }
NetworkServiceAsyncWaiter::~NetworkServiceAsyncWaiter() = default;
void NetworkServiceAsyncWaiter::GetNetworkList(
uint32_t policy, std::optional<WTF::Vector<::net::NetworkInterface>>* out_networks) { … }
std::optional<WTF::Vector<::net::NetworkInterface>> NetworkServiceAsyncWaiter::GetNetworkList(
uint32_t policy) { … }
void NetworkServiceAsyncWaiter::SetTrustTokenKeyCommitments(
const WTF::String& raw_commitments) { … }
void NetworkServiceAsyncWaiter::UpdateCtLogList(
WTF::Vector<::network::mojom::blink::CTLogInfoPtr> log_list) { … }
void NetworkServiceAsyncWaiter::UpdateCtKnownPopularSCTs(
const WTF::Vector<WTF::Vector<uint8_t>>& sct_hashes) { … }
void NetworkServiceAsyncWaiter::SetCtEnforcementEnabled(
bool enabled) { … }
void NetworkServiceAsyncWaiter::ParseHeaders(
const ::blink::KURL& url, ::network::mojom::blink::HttpResponseHeadersPtr headers, ::network::mojom::blink::ParsedHeadersPtr* out_parsed_headers) { … }
::network::mojom::blink::ParsedHeadersPtr NetworkServiceAsyncWaiter::ParseHeaders(
const ::blink::KURL& url, ::network::mojom::blink::HttpResponseHeadersPtr headers) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif