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

Unified Diff: net/android/java/src/org/chromium/net/X509Util.java

Issue 161653002: Add function to support clearing SSL/certificate store. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | net/cert/cert_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/java/src/org/chromium/net/X509Util.java
diff --git a/net/android/java/src/org/chromium/net/X509Util.java b/net/android/java/src/org/chromium/net/X509Util.java
index 90012a4aa7496f92876e9215db48251b1829ab56..cd8a29af401bb13d8e73b5e1f94b9d2dc423cf5d 100644
--- a/net/android/java/src/org/chromium/net/X509Util.java
+++ b/net/android/java/src/org/chromium/net/X509Util.java
@@ -291,6 +291,11 @@ public class X509Util {
ensureInitialized();
}
+ public static void notifyClientCertificatesChanged() {
+ Log.d(TAG, "ClientCertificatesChanged!");
+ nativeNotifyClientCertificatesChanged();
+ }
+
/**
* Convert a DER encoded certificate to an X509Certificate.
*/
@@ -438,6 +443,9 @@ public class X509Util {
public static void setDisableNativeCodeForTest(boolean disabled) {
sDisableNativeCodeForTest = disabled;
}
+
+ private static native void nativeNotifyClientCertificatesChanged();
+
/**
* Notify the native net::CertDatabase instance that the system database has been updated.
*/
« no previous file with comments | « no previous file | net/cert/cert_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698