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

Unified Diff: chromeos/cert_loader.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 | « chromeos/cert_loader.h ('k') | chromeos/cert_loader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cert_loader.cc
diff --git a/chromeos/cert_loader.cc b/chromeos/cert_loader.cc
index 1dc12e72db590a6e6b6d21359520fa081c41ad1d..22efff5ba02f88e456ec9e03abdecd05e373e971 100644
--- a/chromeos/cert_loader.cc
+++ b/chromeos/cert_loader.cc
@@ -174,20 +174,8 @@ void CertLoader::NotifyCertificatesLoaded(bool initial_load) {
OnCertificatesLoaded(*cert_list_, initial_load));
}
-void CertLoader::OnCACertChanged(const net::X509Certificate* cert) {
- // This is triggered when a CA certificate is modified.
- VLOG(1) << "OnCACertChanged";
- LoadCertificates();
-}
-
-void CertLoader::OnCertAdded(const net::X509Certificate* cert) {
- // This is triggered when a client certificate is added.
- VLOG(1) << "OnCertAdded";
- LoadCertificates();
-}
-
-void CertLoader::OnCertRemoved(const net::X509Certificate* cert) {
- VLOG(1) << "OnCertRemoved";
+void CertLoader::OnCertDBChanged(const net::X509Certificate* cert) {
+ VLOG(1) << "OnCertDBChanged";
LoadCertificates();
}
« no previous file with comments | « chromeos/cert_loader.h ('k') | chromeos/cert_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698