Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: chrome/browser/ssl/ssl_client_certificate_selector.h

Issue 2848313003: Revert of Remove client_certs from SSLCertRequestInfo. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 5 #ifndef CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
6 #define CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 6 #define CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "net/cert/x509_certificate.h"
12 11
13 namespace content { 12 namespace content {
14 class ClientCertificateDelegate; 13 class ClientCertificateDelegate;
15 class WebContents; 14 class WebContents;
16 } 15 }
17 16
18 namespace net { 17 namespace net {
19 class SSLCertRequestInfo; 18 class SSLCertRequestInfo;
20 } 19 }
21 20
22 namespace chrome { 21 namespace chrome {
23 22
24 // Opens a constrained SSL client certificate selection dialog under |parent|, 23 // Opens a constrained SSL client certificate selection dialog under |parent|,
25 // offering certificates in |client_certs| for the host specified by 24 // offering certificates from |cert_request_info|. When the user has made a
26 // |cert_request_info|. When the user has made a selection, the dialog will 25 // selection, the dialog will report back to |delegate|. If the dialog is
27 // report back to |delegate|. If the dialog is closed with no selection, 26 // closed with no selection, |delegate| will simply be destroyed.
28 // |delegate| will simply be destroyed.
29 void ShowSSLClientCertificateSelector( 27 void ShowSSLClientCertificateSelector(
30 content::WebContents* contents, 28 content::WebContents* contents,
31 net::SSLCertRequestInfo* cert_request_info, 29 net::SSLCertRequestInfo* cert_request_info,
32 net::CertificateList client_certs,
33 std::unique_ptr<content::ClientCertificateDelegate> delegate); 30 std::unique_ptr<content::ClientCertificateDelegate> delegate);
34 31
35 } // namespace chrome 32 } // namespace chrome
36 33
37 #endif // CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 34 #endif // CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/ssl/ssl_client_certificate_selector_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698