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 46f580e9f88a30a0b57febe114b1f66326f52f47..edc63bbf78cd948984935b3bb2ea5672e531ba7c 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() { |