OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/cert_loader.h" | 5 #include "chromeos/cert_loader.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 certificates_update_running_ = false; | 167 certificates_update_running_ = false; |
168 if (certificates_update_required_) | 168 if (certificates_update_required_) |
169 LoadCertificates(); | 169 LoadCertificates(); |
170 } | 170 } |
171 | 171 |
172 void CertLoader::NotifyCertificatesLoaded(bool initial_load) { | 172 void CertLoader::NotifyCertificatesLoaded(bool initial_load) { |
173 for (auto& observer : observers_) | 173 for (auto& observer : observers_) |
174 observer.OnCertificatesLoaded(*cert_list_, initial_load); | 174 observer.OnCertificatesLoaded(*cert_list_, initial_load); |
175 } | 175 } |
176 | 176 |
177 void CertLoader::OnCertDBChanged(const net::X509Certificate* cert) { | 177 void CertLoader::OnCertDBChanged() { |
178 VLOG(1) << "OnCertDBChanged"; | 178 VLOG(1) << "OnCertDBChanged"; |
179 LoadCertificates(); | 179 LoadCertificates(); |
180 } | 180 } |
181 | 181 |
182 } // namespace chromeos | 182 } // namespace chromeos |
OLD | NEW |