Chromium Code Reviews| Index: chrome/browser/renderer_host/resource_dispatcher_host.cc |
| diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc |
| index 4e6ecab77dc8096898090b4a30af00330d6ac049..46b7986a3770288d6754dfc588e885eddde58615 100644 |
| --- a/chrome/browser/renderer_host/resource_dispatcher_host.cc |
| +++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc |
| @@ -1161,7 +1161,7 @@ bool ResourceDispatcherHost::CompleteResponseStarted(net::URLRequest* request) { |
| if (request->ssl_info().cert) { |
| int cert_id = |
| - CertStore::GetSharedInstance()->StoreCert(request->ssl_info().cert, |
| + CertStore::GetInstance()->StoreCert(request->ssl_info().cert, |
| info->child_id()); |
|
Nico
2010/12/12 23:42:47
indent
Satish
2010/12/13 08:16:30
Done.
|
| response->response_head.security_info = |
| SSLManager::SerializeSecurityInfo( |
| @@ -1500,7 +1500,7 @@ void ResourceDispatcherHost::OnResponseCompleted(net::URLRequest* request) { |
| std::string security_info; |
| const net::SSLInfo& ssl_info = request->ssl_info(); |
| if (ssl_info.cert != NULL) { |
| - int cert_id = CertStore::GetSharedInstance()->StoreCert(ssl_info.cert, |
| + int cert_id = CertStore::GetInstance()->StoreCert(ssl_info.cert, |
| info->child_id()); |
| security_info = SSLManager::SerializeSecurityInfo( |
| cert_id, ssl_info.cert_status, ssl_info.security_bits, |
| @@ -1595,7 +1595,7 @@ net::URLRequest* ResourceDispatcherHost::GetURLRequest( |
| static int GetCertID(net::URLRequest* request, int child_id) { |
| if (request->ssl_info().cert) { |
| - return CertStore::GetSharedInstance()->StoreCert(request->ssl_info().cert, |
| + return CertStore::GetInstance()->StoreCert(request->ssl_info().cert, |
| child_id); |
|
Nico
2010/12/12 23:42:47
indent
Satish
2010/12/13 08:16:30
Done.
|
| } |
| // If there is no SSL info attached to this request, we must either be a non |