#include "chrome/browser/ssl/ssl_client_auth_observer.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/client_certificate_delegate.h"
#include "net/cert/x509_certificate.h"
#include "net/ssl/ssl_cert_request_info.h"
#include "net/ssl/ssl_private_key.h"
BrowserThread;
SSLClientAuthObserver::SSLClientAuthObserver(
const content::BrowserContext* browser_context,
const scoped_refptr<net::SSLCertRequestInfo>& cert_request_info,
std::unique_ptr<content::ClientCertificateDelegate> delegate)
: … { … }
SSLClientAuthObserver::~SSLClientAuthObserver() { … }
void SSLClientAuthObserver::CertificateSelected(
net::X509Certificate* certificate,
net::SSLPrivateKey* private_key) { … }
void SSLClientAuthObserver::CancelCertificateSelection() { … }
void SSLClientAuthObserver::CertificateSelectedWithOtherObserver(
const content::BrowserContext* browser_context,
net::SSLCertRequestInfo* cert_request_info,
net::X509Certificate* certificate,
net::SSLPrivateKey* private_key) { … }
void SSLClientAuthObserver::StartObserving() { … }
void SSLClientAuthObserver::StopObserving() { … }
std::set<SSLClientAuthObserver*>& SSLClientAuthObserver::GetActiveObservers() { … }