summaryrefslogtreecommitdiffstats
path: root/chrome/browser/certificate_manager_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/certificate_manager_model.cc')
-rw-r--r--chrome/browser/certificate_manager_model.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/certificate_manager_model.cc b/chrome/browser/certificate_manager_model.cc
index 63f89a4..1dbd985 100644
--- a/chrome/browser/certificate_manager_model.cc
+++ b/chrome/browser/certificate_manager_model.cc
@@ -123,7 +123,7 @@ int CertificateManagerModel::ImportFromPKCS12(net::CryptoModule* module,
bool CertificateManagerModel::ImportCACerts(
const net::CertificateList& certificates,
- unsigned int trust_bits,
+ net::CertDatabase::TrustBits trust_bits,
net::CertDatabase::ImportCertFailureList* not_imported) {
bool result = cert_db_.ImportCACerts(certificates, trust_bits, not_imported);
if (result && not_imported->size() != certificates.size())
@@ -140,9 +140,10 @@ bool CertificateManagerModel::ImportServerCert(
return result;
}
-bool CertificateManagerModel::SetCertTrust(const net::X509Certificate* cert,
- net::CertType type,
- unsigned int trust_bits) {
+bool CertificateManagerModel::SetCertTrust(
+ const net::X509Certificate* cert,
+ net::CertType type,
+ net::CertDatabase::TrustBits trust_bits) {
return cert_db_.SetCertTrust(cert, type, trust_bits);
}