#include "services/network/ssl_config_service_mojo.h"
#include <string_view>
#include "base/strings/string_util.h"
#include "mojo/public/cpp/bindings/type_converter.h"
#include "services/network/ssl_config_type_converter.h"
namespace network {
namespace {
bool IsSubdomain(const std::string_view hostname,
const std::string_view pattern) { … }
}
SSLConfigServiceMojo::SSLConfigServiceMojo(
mojom::SSLConfigPtr initial_config,
mojo::PendingReceiver<mojom::SSLConfigClient> ssl_config_client_receiver)
: … { … }
SSLConfigServiceMojo::~SSLConfigServiceMojo() = default;
void SSLConfigServiceMojo::SetCertVerifierForConfiguring(
net::CertVerifier* cert_verifier) { … }
void SSLConfigServiceMojo::OnSSLConfigUpdated(mojom::SSLConfigPtr ssl_config) { … }
net::SSLContextConfig SSLConfigServiceMojo::GetSSLContextConfig() { … }
bool SSLConfigServiceMojo::CanShareConnectionWithClientCerts(
std::string_view hostname) const { … }
}