| Index: net/cert/internal/parsed_certificate.h
|
| diff --git a/net/cert/internal/parsed_certificate.h b/net/cert/internal/parsed_certificate.h
|
| index 0f960e2aa022192b2a9251168c7ed46e03727e22..823775229898d2057c417b5f05519aa4f2bb5bd2 100644
|
| --- a/net/cert/internal/parsed_certificate.h
|
| +++ b/net/cert/internal/parsed_certificate.h
|
| @@ -50,7 +50,8 @@ class NET_EXPORT ParsedCertificate
|
| static scoped_refptr<ParsedCertificate> CreateFromCertificateData(
|
| const uint8_t* data,
|
| size_t length,
|
| - DataSource source);
|
| + DataSource source,
|
| + const ParseCertificateOptions& options);
|
|
|
| // Creates a ParsedCertificate and appends it to |chain|. Returns true if the
|
| // certificate was successfully parsed and added. If false is return, |chain|
|
| @@ -59,11 +60,13 @@ class NET_EXPORT ParsedCertificate
|
| const uint8_t* data,
|
| size_t length,
|
| DataSource source,
|
| + const ParseCertificateOptions& options,
|
| std::vector<scoped_refptr<net::ParsedCertificate>>* chain);
|
|
|
| // Creates a ParsedCertificate, copying the data from |data|.
|
| static scoped_refptr<ParsedCertificate> CreateFromCertificateCopy(
|
| - const base::StringPiece& data);
|
| + const base::StringPiece& data,
|
| + const ParseCertificateOptions& options);
|
|
|
| // Returns the DER-encoded certificate data for this cert.
|
| const der::Input& der_cert() const { return cert_; }
|
|
|