blob: eece21db9e52a1675d949f28ff549152d84738b2 [file] [log] [blame]
[email protected]f2455422011-07-21 02:56:581// Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]1f18184a2010-07-21 19:34:492// 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_
[email protected]32b76ef2010-07-26 23:08:247#pragma once
[email protected]1f18184a2010-07-21 19:34:498
[email protected]1f18184a2010-07-21 19:34:499class SSLClientAuthHandler;
[email protected]95a88852010-08-10 00:15:3510class TabContents;
[email protected]1f18184a2010-07-21 19:34:4911
12namespace net {
13class SSLCertRequestInfo;
14}
15
16namespace browser {
17
[email protected]95a88852010-08-10 00:15:3518// Opens a constrained SSL client certificate selection dialog under |parent|,
19// offering certificates from |cert_request_info|. When the user has made a
20// selection, the dialog will report back to |delegate|. |delegate| is notified
21// when the dialog closes in call cases; if the user cancels the dialog, we call
22// with a NULL certificate.
[email protected]1f18184a2010-07-21 19:34:4923void ShowSSLClientCertificateSelector(
[email protected]95a88852010-08-10 00:15:3524 TabContents* parent,
[email protected]1f18184a2010-07-21 19:34:4925 net::SSLCertRequestInfo* cert_request_info,
26 SSLClientAuthHandler* delegate);
27
28} // namespace browser
29
30#endif // CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_