Index: chrome/browser/ssl/ssl_client_auth_observer.cc |
diff --git a/chrome/browser/ssl/ssl_client_auth_observer.cc b/chrome/browser/ssl/ssl_client_auth_observer.cc |
index 961f211de678c2fee5aa2c8aceb885cc1668534b..52e1aa6a933f6e73f08172eea8f36ae90e136665 100644 |
--- a/chrome/browser/ssl/ssl_client_auth_observer.cc |
+++ b/chrome/browser/ssl/ssl_client_auth_observer.cc |
@@ -19,10 +19,10 @@ using content::BrowserThread; |
typedef std::pair<net::SSLCertRequestInfo*, net::X509Certificate*> CertDetails; |
SSLClientAuthObserver::SSLClientAuthObserver( |
- const net::HttpNetworkSession* network_session, |
+ const content::BrowserContext* browser_context, |
const scoped_refptr<net::SSLCertRequestInfo>& cert_request_info, |
const base::Callback<void(net::X509Certificate*)>& callback) |
- : network_session_(network_session), |
+ : browser_context_(browser_context), |
cert_request_info_(cert_request_info), |
callback_(callback) { |
} |
@@ -44,7 +44,7 @@ void SSLClientAuthObserver::CertificateSelected( |
content::NotificationService* service = |
content::NotificationService::current(); |
service->Notify(chrome::NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
- content::Source<net::HttpNetworkSession>(network_session_), |
+ content::Source<content::BrowserContext>(browser_context_), |
content::Details<CertDetails>(&details)); |
callback_.Run(certificate); |
@@ -76,7 +76,7 @@ void SSLClientAuthObserver::StartObserving() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
notification_registrar_.Add( |
this, chrome::NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
- content::Source<net::HttpNetworkSession>(network_session_)); |
+ content::Source<content::BrowserContext>(browser_context_)); |
} |
void SSLClientAuthObserver::StopObserving() { |