Chromium Code Reviews| 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); |
| } |