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

Unified Diff: content/public/browser/content_browser_client.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: review comments+sync 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
===================================================================
--- content/public/browser/content_browser_client.h (revision 121706)
+++ content/public/browser/content_browser_client.h (working copy)
@@ -24,7 +24,6 @@
class QuotaPermissionContext;
class RenderViewHost;
class ResourceDispatcherHost;
-class SSLClientAuthHandler;
class SkBitmap;
struct WebPreferences;
@@ -46,7 +45,9 @@
namespace net {
class CookieList;
class CookieOptions;
+class HttpNetworkSession;
class NetLog;
+class SSLCertRequestInfo;
class SSLInfo;
class URLRequest;
class URLRequestContext;
@@ -232,12 +233,14 @@
const base::Callback<void(bool)>& callback,
bool* cancel_request) = 0;
- // Selects a SSL client certificate and returns it to the |handler|. If no
- // certificate was selected NULL is returned to the |handler|.
+ // Selects a SSL client certificate and returns it to the |callback|. If no
+ // certificate was selected NULL is returned to the |callback|.
virtual void SelectClientCertificate(
int render_process_id,
int render_view_id,
- SSLClientAuthHandler* handler) = 0;
+ const net::HttpNetworkSession* network_session,
+ net::SSLCertRequestInfo* cert_request_info,
+ const base::Callback<void(net::X509Certificate*)>& callback) = 0;
// Adds a downloaded client cert. The embedder should ensure that there's
// a private key for the cert, displays the cert to the user, and adds it upon
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698