summaryrefslogtreecommitdiffstats
path: root/chrome/browser/certificate_manager_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/certificate_manager_model.h')
-rw-r--r--chrome/browser/certificate_manager_model.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/certificate_manager_model.h b/chrome/browser/certificate_manager_model.h
index b111aa2..cadeebd 100644
--- a/chrome/browser/certificate_manager_model.h
+++ b/chrome/browser/certificate_manager_model.h
@@ -67,7 +67,8 @@ class CertificateManagerModel {
// Tries to import all the certificates given. The root will be trusted
// according to |trust_bits|. Any certificates that could not be imported
// will be listed in |not_imported|.
- // |trust_bits| should be a bit field of TRUST* values from CertDatabase.
+ // |trust_bits| should be a bit field of TRUST_* values from CertDatabase, or
+ // UNTRUSTED.
// Returns false if there is an internal error, otherwise true is returned and
// |not_imported| should be checked for any certificates that were not
// imported.
@@ -80,18 +81,16 @@ class CertificateManagerModel {
// not given any trust.
// Any certificates that could not be imported will be listed in
// |not_imported|.
- // |trust_bits| can be set to explicitly trust or distrust the certificate, or
- // use TRUST_DEFAULT to inherit trust as normal.
// Returns false if there is an internal error, otherwise true is returned and
// |not_imported| should be checked for any certificates that were not
// imported.
bool ImportServerCert(
const net::CertificateList& certificates,
- net::CertDatabase::TrustBits trust_bits,
net::CertDatabase::ImportCertFailureList* not_imported);
// Set trust values for certificate.
- // |trust_bits| should be a bit field of TRUST* values from CertDatabase.
+ // |trust_bits| should be a bit field of TRUST_* values from CertDatabase, or
+ // UNTRUSTED.
// Returns true on success or false on failure.
bool SetCertTrust(const net::X509Certificate* cert,
net::CertType type,