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

Unified Diff: chrome/browser/ssl_client_certificate_selector.h

Issue 2823038: Refactor SSLClientAuthHandler and certificate selection (Closed)
Patch Set: Rebase the patch Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_client_auth_handler_mac.mm ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl_client_certificate_selector.h
diff --git a/chrome/browser/ssl_client_certificate_selector.h b/chrome/browser/ssl_client_certificate_selector.h
new file mode 100644
index 0000000000000000000000000000000000000000..8a12a7033cf1ba8a9642b6f4f8f387f61807e408
--- /dev/null
+++ b/chrome/browser/ssl_client_certificate_selector.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
+#define CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
+
+#include "gfx/native_widget_types.h"
+
+class SSLClientAuthHandler;
+
+namespace net {
+class SSLCertRequestInfo;
+}
+
+namespace browser {
+
+// Opens an SSL client certificate selection dialog under |parent|, offering
+// certificates from |cert_request_info|. When the user has made a selection,
+// the dialog will report back to |delegate|. |delegate| is notified when the
+// dialog closes in call cases; if the user cancels the dialog, we call with a
+// NULL certificate.
+void ShowSSLClientCertificateSelector(
+ gfx::NativeWindow parent,
+ net::SSLCertRequestInfo* cert_request_info,
+ SSLClientAuthHandler* delegate);
+
+} // namespace browser
+
+#endif // CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
« no previous file with comments | « chrome/browser/ssl/ssl_client_auth_handler_mac.mm ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698