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

Unified Diff: net/cert/multi_threaded_cert_verifier.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
Index: net/cert/multi_threaded_cert_verifier.cc
diff --git a/net/cert/multi_threaded_cert_verifier.cc b/net/cert/multi_threaded_cert_verifier.cc
index 821cec1220b58565c8c4c884ef6be1f045c82a82..3208cd5e3fa6393e7588a5fcb3e52d8ca748dbd4 100644
--- a/net/cert/multi_threaded_cert_verifier.cc
+++ b/net/cert/multi_threaded_cert_verifier.cc
@@ -563,4 +563,10 @@ void MultiThreadedCertVerifier::OnCertTrustChanged(
ClearCache();
}
+void MultiThreadedCertVerifier::OnDatabaseChanged() {
+ DCHECK(CalledOnValidThread());
+
+ ClearCache();
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698