OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "chromeos/network/cert_loader.h" | 11 #include "chromeos/cert_loader.h" |
12 #include "net/cert/x509_certificate.h" | 12 #include "net/cert/x509_certificate.h" |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 | 15 |
16 class CertNameComparator; | 16 class CertNameComparator; |
17 | 17 |
18 // This class is responsible for keeping track of certificates in a UI | 18 // This class is responsible for keeping track of certificates in a UI |
19 // friendly manner. It observes CertLoader to receive certificate list | 19 // friendly manner. It observes CertLoader to receive certificate list |
20 // updates and sorts them by type for the UI. All public APIs are expected | 20 // updates and sorts them by type for the UI. All public APIs are expected |
21 // to be called from the UI thread and are non blocking. Observers will also | 21 // to be called from the UI thread and are non blocking. Observers will also |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 net::CertificateList user_certs_; | 100 net::CertificateList user_certs_; |
101 net::CertificateList server_certs_; | 101 net::CertificateList server_certs_; |
102 net::CertificateList server_ca_certs_; | 102 net::CertificateList server_ca_certs_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(CertLibrary); | 104 DISALLOW_COPY_AND_ASSIGN(CertLibrary); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace chromeos | 107 } // namespace chromeos |
108 | 108 |
109 #endif // CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ | 109 #endif // CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ |
OLD | NEW |