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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

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/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index c8796acaf8241abfeae43317af42c4830bf8c2ab..ce48ab8fc6c3be0218715a51bf5a648e0a9fd592 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -1369,6 +1369,15 @@ public class AwContents {
}
/**
+ * @see android.webvkit.WebView#clearClientCertPreferences()
boliu 2014/04/14 23:56:04 nit: spelling
sgurun-gerrit only 2014/04/15 23:40:03 Done.
+ */
+ public void clearClientCertPreferences() {
+ ClientCertLookupTable.clear();
+ if (mNativeAwContents == 0) return;
+ nativeClearClientCertPreferences(mNativeAwContents);
+ }
+
+ /**
* Method to return all hit test values relevant to public WebView API.
* Note that this expose more data than needed for WebView.getHitTestResult.
* Unsafely returning reference to mutable internal object to avoid excessive
@@ -2140,4 +2149,5 @@ public class AwContents {
private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExporter awPdfExporter);
+ private native void nativeClearClientCertPreferences(long nativeAwContents);
}

Powered by Google App Engine
This is Rietveld 408576698