Chromium Code Reviews| 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..03017f1179b4ea9a4ec932e11d7c5adf87d77d19 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 |NULL| if the persistence is not desired. |
|
pauljensen
2015/12/01 20:50:13
|NULL|->nullptr
kapishnikov
2015/12/02 22:11:37
Done.
|
| + // See |SetDelegate| method for more details. |
| void AddHPKP(const std::string& host, |
| const base::Time& expiry, |
| bool include_subdomains, |