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

Unified Diff: net/cert/cert_database.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/cert/cert_database.h ('k') | net/cert/cert_database_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_database.cc
diff --git a/net/cert/cert_database.cc b/net/cert/cert_database.cc
index 3d423b0c4f4ea3e92d7279e04f9ea88570267db2..d2ef9ffdf4a5c3f2f6e478634a220d6f847ffca2 100644
--- a/net/cert/cert_database.cc
+++ b/net/cert/cert_database.cc
@@ -25,19 +25,8 @@ void CertDatabase::RemoveObserver(Observer* observer) {
observer_list_->RemoveObserver(observer);
}
-void CertDatabase::NotifyObserversOfCertAdded(const X509Certificate* cert) {
- observer_list_->Notify(FROM_HERE, &Observer::OnCertAdded,
- base::RetainedRef(cert));
-}
-
-void CertDatabase::NotifyObserversOfCertRemoved(const X509Certificate* cert) {
- observer_list_->Notify(FROM_HERE, &Observer::OnCertRemoved,
- base::RetainedRef(cert));
-}
-
-void CertDatabase::NotifyObserversOfCACertChanged(
- const X509Certificate* cert) {
- observer_list_->Notify(FROM_HERE, &Observer::OnCACertChanged,
+void CertDatabase::NotifyObserversCertDBChanged(const X509Certificate* cert) {
+ observer_list_->Notify(FROM_HERE, &Observer::OnCertDBChanged,
base::RetainedRef(cert));
}
« no previous file with comments | « net/cert/cert_database.h ('k') | net/cert/cert_database_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698