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 #ifndef CHROMEOS_CERT_LOADER_H_ | 5 #ifndef CHROMEOS_CERT_LOADER_H_ |
6 #define CHROMEOS_CERT_LOADER_H_ | 6 #define CHROMEOS_CERT_LOADER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 void UpdateCertificates(net::CertificateList* cert_list); | 140 void UpdateCertificates(net::CertificateList* cert_list); |
141 | 141 |
142 void NotifyCertificatesLoaded(bool initial_load); | 142 void NotifyCertificatesLoaded(bool initial_load); |
143 | 143 |
144 // net::CertDatabase::Observer | 144 // net::CertDatabase::Observer |
145 virtual void OnCertTrustChanged(const net::X509Certificate* cert) OVERRIDE; | 145 virtual void OnCertTrustChanged(const net::X509Certificate* cert) OVERRIDE; |
146 virtual void OnCertAdded(const net::X509Certificate* cert) OVERRIDE; | 146 virtual void OnCertAdded(const net::X509Certificate* cert) OVERRIDE; |
147 virtual void OnCertRemoved(const net::X509Certificate* cert) OVERRIDE; | 147 virtual void OnCertRemoved(const net::X509Certificate* cert) OVERRIDE; |
148 | 148 |
149 // LoginState::Observer | 149 // LoginState::Observer |
150 virtual void LoggedInStateChanged(LoginState::LoggedInState state) OVERRIDE; | 150 virtual void LoggedInStateChanged() OVERRIDE; |
151 | 151 |
152 bool initialize_tpm_for_test_; | 152 bool initialize_tpm_for_test_; |
153 | 153 |
154 ObserverList<Observer> observers_; | 154 ObserverList<Observer> observers_; |
155 | 155 |
156 bool certificates_requested_; | 156 bool certificates_requested_; |
157 bool certificates_loaded_; | 157 bool certificates_loaded_; |
158 bool certificates_update_required_; | 158 bool certificates_update_required_; |
159 bool certificates_update_running_; | 159 bool certificates_update_running_; |
160 | 160 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 // This factory should be used only for callbacks during updating the | 198 // This factory should be used only for callbacks during updating the |
199 // certificate list. | 199 // certificate list. |
200 base::WeakPtrFactory<CertLoader> update_certificates_factory_; | 200 base::WeakPtrFactory<CertLoader> update_certificates_factory_; |
201 | 201 |
202 DISALLOW_COPY_AND_ASSIGN(CertLoader); | 202 DISALLOW_COPY_AND_ASSIGN(CertLoader); |
203 }; | 203 }; |
204 | 204 |
205 } // namespace chromeos | 205 } // namespace chromeos |
206 | 206 |
207 #endif // CHROMEOS_CERT_LOADER_H_ | 207 #endif // CHROMEOS_CERT_LOADER_H_ |
OLD | NEW |