| Index: content/common/ssl_status_serialization.h
|
| diff --git a/content/common/ssl_status_serialization.h b/content/common/ssl_status_serialization.h
|
| index 08819d336277969f85daae266919e0871597d02f..ed4062377a5de0ed95e8906d4e6247e7d6ca3f1e 100644
|
| --- a/content/common/ssl_status_serialization.h
|
| +++ b/content/common/ssl_status_serialization.h
|
| @@ -13,20 +13,17 @@
|
|
|
| namespace content {
|
|
|
| -// Serializes the given security info.
|
| -CONTENT_EXPORT std::string SerializeSecurityInfo(
|
| - int cert_id,
|
| - net::CertStatus cert_status,
|
| - int security_bits,
|
| - int connection_status,
|
| - const SignedCertificateTimestampIDStatusList&
|
| - signed_certificate_timestamp_ids);
|
| +// Serializes the given security info. Does NOT include
|
| +// |ssl_status.content_status| in the serialized info.
|
| +CONTENT_EXPORT std::string SerializeSecurityInfo(const SSLStatus& ssl_status);
|
|
|
| // Deserializes the given security info into |ssl_status|. Note that
|
| -// this returns the SecurityStyle and ContentStatus fields with default
|
| -// values. Returns true on success and false if the state couldn't be
|
| -// deserialized. If false, all fields in |ssl_status| will be set to their
|
| -// default values.
|
| +// this returns the |content_status| field with its default
|
| +// value. Returns true on success and false if the state couldn't be
|
| +// deserialized. If false, all fields in |ssl_status| will be set to
|
| +// their default values. Note that this function does not validate that
|
| +// the deserialized SSLStatus is internally consistent (e.g. that the
|
| +// |security_style| matches up with the rest of the fields).
|
| bool CONTENT_EXPORT
|
| DeserializeSecurityInfo(const std::string& state,
|
| SSLStatus* ssl_status) WARN_UNUSED_RESULT;
|
|
|