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

Unified Diff: net/cert/cert_database.h

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
Index: net/cert/cert_database.h
diff --git a/net/cert/cert_database.h b/net/cert/cert_database.h
index 3ba98455138429ec64a016388a307f4a62118ce7..19847d8d804e232d6154272a0b246bb589569684 100644
--- a/net/cert/cert_database.h
+++ b/net/cert/cert_database.h
@@ -82,6 +82,9 @@ class NET_EXPORT CertDatabase {
#endif
#if defined(OS_ANDROID)
+ // Drops client certificate store and any open SSL connections.
+ void Clear();
Ryan Sleevi 2014/02/12 22:56:22 // On Android, the system key store may be replace
Yaron 2014/02/12 23:24:20 Done.
+
// On android, the system database is used. When the system notifies the
Ryan Sleevi 2014/02/12 22:56:22 s/android/Android/
Yaron 2014/02/12 23:24:20 Done.
// application that the certificates changed, the observers must be notified.
void OnAndroidKeyChainChanged();

Powered by Google App Engine
This is Rietveld 408576698