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

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

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.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents_ssl_helper.cc (revision 121323)
+++ chrome/browser/tab_contents/tab_contents_ssl_helper.cc (working copy)
@@ -24,7 +24,6 @@
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
-#include "content/browser/ssl/ssl_client_auth_handler.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/web_contents.h"
@@ -191,9 +190,11 @@
}
void TabContentsSSLHelper::ShowClientCertificateRequestDialog(
- scoped_refptr<SSLClientAuthHandler> handler) {
+ const net::HttpNetworkSession* network_session,
+ net::SSLCertRequestInfo* cert_request_info,
+ const base::Callback<void(net::X509Certificate*)>& callback) {
browser::ShowSSLClientCertificateSelector(
- tab_contents_, handler->cert_request_info(), handler);
+ tab_contents_, network_session, cert_request_info, callback);
}
void TabContentsSSLHelper::OnVerifyClientCertificateError(

Powered by Google App Engine
This is Rietveld 408576698