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

Unified Diff: net/ssl/ssl_client_auth_cache.cc

Issue 27500004: Listen for new system certificates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Follow review. Created 7 years, 2 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
« net/cert/cert_database.h ('K') | « net/ssl/ssl_client_auth_cache.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_client_auth_cache.cc
diff --git a/net/ssl/ssl_client_auth_cache.cc b/net/ssl/ssl_client_auth_cache.cc
index 0c0704e620899906cd7ca4027fdfe78704ea0276..201ece0b19d518821ce0dd9d3894faa3c4332efc 100644
--- a/net/ssl/ssl_client_auth_cache.cc
+++ b/net/ssl/ssl_client_auth_cache.cc
@@ -45,4 +45,8 @@ void SSLClientAuthCache::OnCertAdded(const X509Certificate* cert) {
cache_.clear();
}
+void SSLClientAuthCache::OnDatabaseChanged() {
+ cache_.clear();
+}
+
} // namespace net
« net/cert/cert_database.h ('K') | « net/ssl/ssl_client_auth_cache.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698