Index: net/cert/x509_certificate.cc |
diff --git a/net/cert/x509_certificate.cc b/net/cert/x509_certificate.cc |
index 36e806ebaba7ba14a0ef30bba9a764b73a798abc..5853de938fcb950aa8d0e8ca5f63f49b89556a08 100644 |
--- a/net/cert/x509_certificate.cc |
+++ b/net/cert/x509_certificate.cc |
@@ -528,6 +528,7 @@ bool X509Certificate::VerifyHostname( |
// Allow fallback to Common name matching? |
const bool common_name_fallback = cert_san_dns_names.empty() && |
cert_san_ip_addrs.empty(); |
+ UMA_HISTOGRAM_BOOLEAN("Net.CertCommonNameFallback", common_name_fallback); |
// Fully handle all cases where |hostname| contains an IP address. |
if (host_info.IsIPAddress()) { |