Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: ios/web/net/cert_host_pair.h

Issue 2000503002: Remove the fingerprint and ca_fingerprint from X509Certificate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_cache
Patch Set: Feedback Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..5f7946bd19d3b716fa701ac0e541a802cc0e5f47 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;
+ net::SHA256HashValue cert_hash;
eroman 2016/06/09 22:18:25 Should these members be private or const to preven
Ryan Sleevi 2016/06/09 22:59:36 |const| sg
};
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698