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 "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/macros.h" |
9 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
10 #include "content/public/browser/client_certificate_delegate.h" | 11 #include "content/public/browser/client_certificate_delegate.h" |
11 #include "content/public/browser/content_browser_client.h" | 12 #include "content/public/browser/content_browser_client.h" |
12 #include "content/public/browser/render_frame_host.h" | 13 #include "content/public/browser/render_frame_host.h" |
13 #include "content/public/browser/resource_request_info.h" | 14 #include "content/public/browser/resource_request_info.h" |
14 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
15 #include "net/cert/x509_certificate.h" | 16 #include "net/cert/x509_certificate.h" |
16 #include "net/ssl/client_cert_store.h" | 17 #include "net/ssl/client_cert_store.h" |
17 #include "net/url_request/url_request.h" | 18 #include "net/url_request/url_request.h" |
18 | 19 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 } | 194 } |
194 | 195 |
195 BrowserThread::PostTask( | 196 BrowserThread::PostTask( |
196 BrowserThread::UI, FROM_HERE, | 197 BrowserThread::UI, FROM_HERE, |
197 base::Bind(&SelectCertificateOnUIThread, render_process_host_id, | 198 base::Bind(&SelectCertificateOnUIThread, render_process_host_id, |
198 render_frame_host_id, cert_request_info_, | 199 render_frame_host_id, cert_request_info_, |
199 weak_factory_.GetWeakPtr())); | 200 weak_factory_.GetWeakPtr())); |
200 } | 201 } |
201 | 202 |
202 } // namespace content | 203 } // namespace content |
OLD | NEW |