| OLD | NEW |
| 1 /* ***** BEGIN LICENSE BLOCK ***** | 1 /* ***** BEGIN LICENSE BLOCK ***** |
| 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 * | 3 * |
| 4 * The contents of this file are subject to the Mozilla Public License Version | 4 * The contents of this file are subject to the Mozilla Public License Version |
| 5 * 1.1 (the "License"); you may not use this file except in compliance with | 5 * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 * the License. You may obtain a copy of the License at | 6 * the License. You may obtain a copy of the License at |
| 7 * http://www.mozilla.org/MPL/ | 7 * http://www.mozilla.org/MPL/ |
| 8 * | 8 * |
| 9 * Software distributed under the License is distributed on an "AS IS" basis, | 9 * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } // namespace net | 51 } // namespace net |
| 52 | 52 |
| 53 namespace mozilla_security_manager { | 53 namespace mozilla_security_manager { |
| 54 | 54 |
| 55 bool ImportCACerts(const net::CertificateList& certificates, | 55 bool ImportCACerts(const net::CertificateList& certificates, |
| 56 net::X509Certificate* root, | 56 net::X509Certificate* root, |
| 57 net::CertDatabase::TrustBits trustBits, | 57 net::CertDatabase::TrustBits trustBits, |
| 58 net::CertDatabase::ImportCertFailureList* not_imported); | 58 net::CertDatabase::ImportCertFailureList* not_imported); |
| 59 | 59 |
| 60 bool ImportServerCert(const net::CertificateList& certificates, | 60 bool ImportServerCert(const net::CertificateList& certificates, |
| 61 net::CertDatabase::TrustBits trustBits, |
| 61 net::CertDatabase::ImportCertFailureList* not_imported); | 62 net::CertDatabase::ImportCertFailureList* not_imported); |
| 62 | 63 |
| 63 bool SetCertTrust(const net::X509Certificate* cert, | 64 bool SetCertTrust(const net::X509Certificate* cert, |
| 64 net::CertType type, | 65 net::CertType type, |
| 65 net::CertDatabase::TrustBits trustBits); | 66 net::CertDatabase::TrustBits trustBits); |
| 66 | 67 |
| 67 } // namespace mozilla_security_manager | 68 } // namespace mozilla_security_manager |
| 68 | 69 |
| 69 #endif // NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSNSSCERTIFICATEDB_H_ | 70 #endif // NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSNSSCERTIFICATEDB_H_ |
| OLD | NEW |