Commit 969cdd94 authored by John Abd-El-Malek's avatar John Abd-El-Malek Committed by Commit Bot

Add histogram of how often an https URL commits without a certificate.

BUG=736375

Change-Id: I109fab5e41a40ba0d6f5f478c31070d7ef4ea9df
Reviewed-on: https://chromium-review.googlesource.com/565196
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Reviewed-by: default avatarEric Lawrence <elawrence@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485418}
parent 3b20737d
......@@ -1000,6 +1000,11 @@ bool NavigationControllerImpl::RendererDidNavigate(
NotifyNavigationEntryCommitted(details);
if (active_entry->GetURL().SchemeIs(url::kHttpsScheme)) {
UMA_HISTOGRAM_BOOLEAN("Navigation.SecureSchemeHasSSLStatus",
!!active_entry->GetSSL().certificate);
}
if (overriding_user_agent_changed)
delegate_->UpdateOverridingUserAgent();
......
......@@ -34601,6 +34601,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
<histogram name="Navigation.SecureSchemeHasSSLStatus" enum="BooleanPresent">
<owner>jam@chromium.org</owner>
<summary>
True counts the events when a https URL commits with a SSL certificate.
False is when the certificate is missing. This should be at 100%, anything
less is probably a bug.
</summary>
</histogram>
<histogram name="Navigation.Start.RendererBrowserDifference.Negative"
units="ms">
<obsolete>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment