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

Unified Diff: net/ssl/ssl_client_auth_cache.cc

Issue 2363653002: Cleanup unreachable cert adding code (Closed)
Patch Set: Rebased Created 4 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
« no previous file with comments | « net/ssl/ssl_client_auth_cache.h ('k') | net/ssl/ssl_client_auth_cache_unittest.cc » ('j') | 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 ba60c1bc5feb1d62b08ad4fee82f02bdf229aa49..8b822bc24a15826dca97debc1ce7b5998d4e7d23 100644
--- a/net/ssl/ssl_client_auth_cache.cc
+++ b/net/ssl/ssl_client_auth_cache.cc
@@ -44,7 +44,7 @@ void SSLClientAuthCache::Remove(const HostPortPair& server) {
cache_.erase(server);
}
-void SSLClientAuthCache::OnCertAdded(const X509Certificate* cert) {
+void SSLClientAuthCache::OnCertDBChanged(const X509Certificate* cert) {
cache_.clear();
}
« no previous file with comments | « net/ssl/ssl_client_auth_cache.h ('k') | net/ssl/ssl_client_auth_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698