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/renderer_host/resource_dispatcher_host_impl.h" | 8 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
9 #include "content/browser/renderer_host/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" |
11 #include "content/public/browser/content_browser_client.h" | 11 #include "content/public/browser/content_browser_client.h" |
12 #include "net/base/x509_certificate.h" | 12 #include "net/base/x509_certificate.h" |
13 #include "net/http/http_transaction_factory.h" | 13 #include "net/http/http_transaction_factory.h" |
14 #include "net/url_request/url_request.h" | 14 #include "net/url_request/url_request.h" |
15 #include "net/url_request/url_request_context.h" | 15 #include "net/url_request/url_request_context.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 SSLClientAuthHandler::SSLClientAuthHandler( | 19 SSLClientAuthHandler::SSLClientAuthHandler( |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, render_view_host_id, http_network_session_, |
90 cert_request_info_, | 90 cert_request_info_, |
91 base::Bind(&SSLClientAuthHandler::CertificateSelected, this)); | 91 base::Bind(&SSLClientAuthHandler::CertificateSelected, this)); |
92 } | 92 } |
93 | 93 |
94 } // namespace content | 94 } // namespace content |
OLD | NEW |