Chromium Code Reviews| Index: ios/web/net/cert_host_pair.h |
| diff --git a/ios/web/net/cert_host_pair.h b/ios/web/net/cert_host_pair.h |
| index f251c1b5727dbaba14ea94260b37768c88841471..6477a9d5fac033e5e1656057120aed0306b54261 100644 |
| --- a/ios/web/net/cert_host_pair.h |
| +++ b/ios/web/net/cert_host_pair.h |
| @@ -8,6 +8,7 @@ |
| #include <string> |
| #include "base/memory/ref_counted.h" |
| +#include "net/base/hash_value.h" |
| namespace net { |
| class X509Certificate; |
| @@ -27,6 +28,7 @@ struct CertHostPair { |
| scoped_refptr<net::X509Certificate> cert; |
| std::string host; |
| + const net::SHA256HashValue cert_hash; |
|
Eugene But (OOO till 7-30)
2016/06/16 01:14:34
Should |cert| field be private or at least const?
Ryan Sleevi
2016/06/16 01:19:44
Actually making CertHostPair a proper class, with
Eugene But (OOO till 7-30)
2016/06/16 01:36:23
That sounds even better and totally reasonable to
|
| }; |
| } // namespace web |