Chromium Code Reviews| Index: chromeos/network/onc/onc_certificate_importer.h |
| diff --git a/chromeos/network/onc/onc_certificate_importer.h b/chromeos/network/onc/onc_certificate_importer.h |
| index 1fed94117d231b89e7de613151cb7c1a3edac516..cbbc0fc9523994039c713e8c68a88eeb8c76500b 100644 |
| --- a/chromeos/network/onc/onc_certificate_importer.h |
| +++ b/chromeos/network/onc/onc_certificate_importer.h |
| @@ -38,11 +38,11 @@ class CHROMEOS_EXPORT CertificateImporter { |
| IMPORT_FAILED, |
| }; |
| - // Certificates pushed from a policy source with Web trust are only imported |
| - // with ParseCertificate() if the |allow_web_trust_from_policy| permission is |
| - // granted. |
| - CertificateImporter(ONCSource onc_source, |
| - bool allow_web_trust_from_policy); |
| + // During import with ParseCertificate(), Web trust is only applied to Server |
| + // and Authority certificates with the Trust attribute "Web" if the |
| + // |allow_web_trust| permission is granted, otherwise the attribute is |
| + // ignored. |
| + explicit CertificateImporter(bool allow_web_trust); |
| // Parses and stores the certificates in |onc_certificates| into the |
| // certificate store. If the "Remove" field of a certificate is enabled, then |
| @@ -78,9 +78,9 @@ class CHROMEOS_EXPORT CertificateImporter { |
| // Where the ONC blob comes from. |
| ONCSource onc_source_; |
|
Joao da Silva
2013/01/16 15:03:57
This field isn't used anymore.
pneubeck (no reviews)
2013/01/16 15:18:04
Done.
|
| - // Whether certificates with Web trust should be stored when pushed from a |
| - // policy source. |
| - bool allow_web_trust_from_policy_; |
| + // Whether certificates with Trust attribute "Web" should be stored with web |
| + // trust. |
| + bool allow_web_trust_; |
| DISALLOW_COPY_AND_ASSIGN(CertificateImporter); |
| }; |