| 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/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "chromeos/network/cert_loader.h" | 11 #include "chromeos/network/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 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 net::CertificateList user_certs_; | 96 net::CertificateList user_certs_; |
| 97 net::CertificateList server_certs_; | 97 net::CertificateList server_certs_; |
| 98 net::CertificateList server_ca_certs_; | 98 net::CertificateList server_ca_certs_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(CertLibrary); | 100 DISALLOW_COPY_AND_ASSIGN(CertLibrary); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace chromeos | 103 } // namespace chromeos |
| 104 | 104 |
| 105 #endif // CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ | 105 #endif // CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ |
| OLD | NEW |