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

Unified Diff: chrome/browser/tab_contents/tab_contents_ssl_helper.h

Issue 9384014: Remove knowledge about SSLClientAuthHandler from chrome. Instead a callback is given to the embed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix aura Created 8 years, 10 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
Index: chrome/browser/tab_contents/tab_contents_ssl_helper.h
===================================================================
--- chrome/browser/tab_contents/tab_contents_ssl_helper.h (revision 121323)
+++ chrome/browser/tab_contents/tab_contents_ssl_helper.h (working copy)
@@ -8,14 +8,20 @@
#include <map>
+#include "base/callback_forward.h"
#include "base/memory/linked_ptr.h"
#include "base/memory/ref_counted.h"
#include "content/public/browser/render_view_host_delegate.h"
class SSLAddCertHandler;
-class SSLClientAuthHandler;
class TabContentsWrapper;
+namespace net {
+class HttpNetworkSession;
+class SSLCertRequestInfo;
+class X509Certificate;
+}
+
class TabContentsSSLHelper {
public:
explicit TabContentsSSLHelper(TabContentsWrapper* tab_contents);
@@ -50,7 +56,9 @@
// Displays a dialog for selecting a client certificate and returns it to
// the |handler|.
void ShowClientCertificateRequestDialog(
- scoped_refptr<SSLClientAuthHandler> handler);
+ const net::HttpNetworkSession* network_session,
+ net::SSLCertRequestInfo* cert_request_info,
+ const base::Callback<void(net::X509Certificate*)>& callback);
private:
TabContentsWrapper* tab_contents_;

Powered by Google App Engine
This is Rietveld 408576698