OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ |
| 6 #define CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ |
| 7 |
| 8 #include "gfx/native_widget_types.h" |
| 9 |
| 10 class SSLClientAuthHandler; |
| 11 |
| 12 namespace net { |
| 13 class SSLCertRequestInfo; |
| 14 } |
| 15 |
| 16 namespace browser { |
| 17 |
| 18 // Opens an SSL client certificate selection dialog under |parent|, offering |
| 19 // certificates from |cert_request_info|. When the user has made a selection, |
| 20 // the dialog will report back to |delegate|. |delegate| is notified when the |
| 21 // dialog closes in call cases; if the user cancels the dialog, we call with a |
| 22 // NULL certificate. |
| 23 void ShowSSLClientCertificateSelector( |
| 24 gfx::NativeWindow parent, |
| 25 net::SSLCertRequestInfo* cert_request_info, |
| 26 SSLClientAuthHandler* delegate); |
| 27 |
| 28 } // namespace browser |
| 29 |
| 30 #endif // CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ |
OLD | NEW |