| Index: net/http/transport_security_state.h
|
| diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h
|
| index d46993b1782d39e801eebf94738cabf853826f20..9e39c7aeca8c6d7dccc1b225149effb6db2a25e4 100644
|
| --- a/net/http/transport_security_state.h
|
| +++ b/net/http/transport_security_state.h
|
| @@ -292,8 +292,10 @@ class NET_EXPORT TransportSecurityState
|
| const base::Time& expiry,
|
| bool include_subdomains);
|
|
|
| - // Adds explicitly-specified data as if it was processed from an
|
| - // HPKP header (used for net-internals and unit tests).
|
| + // Adds explicitly-specified data as if it was processed from an HPKP header.
|
| + // Note: This method will persist the HPKP if a Delegate is present. Make sure
|
| + // that the delegate is nullptr if the persistence is not desired.
|
| + // See |SetDelegate| method for more details.
|
| void AddHPKP(const std::string& host,
|
| const base::Time& expiry,
|
| bool include_subdomains,
|
|
|