Rename ct::CTPolicyCompliance::CT_POLICY_MAX to CT_POLICY_COUNT
"_MAX" suffix typically represents the last value in an enum, whereas
"_COUNT" is more commonly used to count the number of entries.
This CL should have no behavior changes.
Change-Id: I976c67473f9590a815514ac59758d3a7abc0ad8e
Reviewed-on: https://chromium-review.googlesource.com/1245022
Reviewed-by: Kinuko Yasuda <[email protected]>
Reviewed-by: Ryan Sleevi <[email protected]>
Commit-Queue: Kunihiko Sakamoto <[email protected]>
Cr-Commit-Position: refs/heads/master@{#594580}
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index aee8755..729775e 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -131,7 +131,7 @@
UMA_HISTOGRAM_ENUMERATION(
"Net.CertificateTransparency.RequestComplianceStatus",
ssl_info.ct_policy_compliance,
- net::ct::CTPolicyCompliance::CT_POLICY_MAX);
+ net::ct::CTPolicyCompliance::CT_POLICY_COUNT);
// Record the CT compliance of each request which was required to be CT
// compliant. This gives a picture of the sites that are supposed to be
// compliant and how well they do at actually being compliant.
@@ -139,7 +139,7 @@
UMA_HISTOGRAM_ENUMERATION(
"Net.CertificateTransparency.CTRequiredRequestComplianceStatus",
ssl_info.ct_policy_compliance,
- net::ct::CTPolicyCompliance::CT_POLICY_MAX);
+ net::ct::CTPolicyCompliance::CT_POLICY_COUNT);
}
}