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

Unified Diff: android_webview/browser/aw_contents_client_bridge_base.h

Issue 235563005: Add client cert support to android_webview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert unintended file addition Created 6 years, 8 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: android_webview/browser/aw_contents_client_bridge_base.h
diff --git a/android_webview/browser/aw_contents_client_bridge_base.h b/android_webview/browser/aw_contents_client_bridge_base.h
index a1b3b7fe7b73440ecc48584a9e9a21e1c4f01bda..accf78b6a368704aa6657c48bb1a7a700c304be8 100644
--- a/android_webview/browser/aw_contents_client_bridge_base.h
+++ b/android_webview/browser/aw_contents_client_bridge_base.h
@@ -16,6 +16,7 @@ class WebContents;
}
namespace net {
+class SSLCertRequestInfo;
class X509Certificate;
}
@@ -43,6 +44,9 @@ class AwContentsClientBridgeBase {
const GURL& request_url,
const base::Callback<void(bool)>& callback,
bool* cancel_request) = 0;
+ virtual void SelectClientCertificate(
+ net::SSLCertRequestInfo* cert_request_info,
+ const base::Callback<void(net::X509Certificate*)>& callback) = 0;
virtual void RunJavaScriptDialog(
content::JavaScriptMessageType message_type,

Powered by Google App Engine
This is Rietveld 408576698