Remove redundancy in security interstitial UMA logic
commit4cd6e60d57c83b5f7b3a6de4497329de7822e316
authorfelt <felt@chromium.org>
Sat, 17 Jan 2015 17:04:02 +0000 (17 09:04 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 17 Jan 2015 17:05:06 +0000 (17 17:05 +0000)
tree0b6ecc703293b99e96c4eafb8abaa44d67441378
parent3a3e7a4d3760e5720ac99f3b989562608fe5426a
Remove redundancy in security interstitial UMA logic

Currently, very similar events are being recorded in different ways between the
Safe Browsing and SSL interstitials. This unifies the event types and shares a
common helper method between the two. It should be extensible to future
interstitials. It also has the pleasant side effect of reducing the overwhelming
complexity of the previous interstitial.ssl histogram.

BUG=448487

Review URL: https://codereview.chromium.org/839183002

Cr-Commit-Position: refs/heads/master@{#312042}
chrome/browser/interstitials/security_interstitial_uma_helper.cc [new file with mode: 0644]
chrome/browser/interstitials/security_interstitial_uma_helper.h [new file with mode: 0644]
chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
chrome/browser/safe_browsing/safe_browsing_blocking_page.h
chrome/browser/ssl/ssl_blocking_page.cc
chrome/browser/ssl/ssl_blocking_page.h
chrome/browser/ssl/ssl_error_classification.cc
chrome/chrome_browser.gypi
tools/metrics/histograms/histograms.xml