OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/ssl/ssl_client_auth_handler.h" | 5 #include "content/browser/ssl/ssl_client_auth_handler.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 8 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
9 #include "content/browser/loader/resource_request_info_impl.h" | 9 #include "content/browser/loader/resource_request_info_impl.h" |
10 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 ResourceDispatcherHostImpl::Get()-> | 80 ResourceDispatcherHostImpl::Get()-> |
81 ClearSSLClientAuthHandlerForRequest(request_); | 81 ClearSSLClientAuthHandlerForRequest(request_); |
82 request_ = NULL; | 82 request_ = NULL; |
83 } | 83 } |
84 } | 84 } |
85 | 85 |
86 void SSLClientAuthHandler::DoSelectCertificate( | 86 void SSLClientAuthHandler::DoSelectCertificate( |
87 int render_process_host_id, int render_view_host_id) { | 87 int render_process_host_id, int render_view_host_id) { |
88 GetContentClient()->browser()->SelectClientCertificate( | 88 GetContentClient()->browser()->SelectClientCertificate( |
89 render_process_host_id, render_view_host_id, http_network_session_, | 89 render_process_host_id, |
90 cert_request_info_, | 90 render_view_host_id, |
| 91 http_network_session_, |
| 92 cert_request_info_.get(), |
91 base::Bind(&SSLClientAuthHandler::CertificateSelected, this)); | 93 base::Bind(&SSLClientAuthHandler::CertificateSelected, this)); |
92 } | 94 } |
93 | 95 |
94 } // namespace content | 96 } // namespace content |
OLD | NEW |