Add checkbox for reporting invalid TLS/SSL cert chains
commit93272ab9ec84b4dd90a93fb2aab8ddd94f250d63
authorestark <estark@chromium.org>
Wed, 25 Mar 2015 23:54:01 +0000 (25 16:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Mar 2015 23:55:11 +0000 (25 23:55 +0000)
tree7ecba57a7d408bab8a02a0c34fa086ca68572830
parent2a205a75fe37209cadf1d66be2590fc0761a61a7
Add checkbox for reporting invalid TLS/SSL cert chains

This is a stub for now; eventually it will report invalid certificate
chains on SSL interstitials to a server endpoint. Right now it logs the
report but doesn't actually send it anywhere. The checkbox is
tied in with Safe Browsing Extended Reporting.

BUG=461588

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

Cr-Commit-Position: refs/heads/master@{#322265}
34 files changed:
chrome/app/generated_resources.grd
chrome/browser/about_flags.cc
chrome/browser/chrome_content_browser_client.cc
chrome/browser/interstitials/security_interstitial_metrics_helper.cc
chrome/browser/interstitials/security_interstitial_metrics_helper.h
chrome/browser/interstitials/security_interstitial_page.cc
chrome/browser/interstitials/security_interstitial_page.h
chrome/browser/net/certificate_error_reporter.cc
chrome/browser/net/certificate_error_reporter.h
chrome/browser/net/certificate_error_reporter_unittest.cc
chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc
chrome/browser/resources/security_warnings/extended_reporting.js [new file with mode: 0644]
chrome/browser/resources/security_warnings/interstitial_v2.css
chrome/browser/resources/security_warnings/interstitial_v2.html
chrome/browser/resources/security_warnings/interstitial_v2.js
chrome/browser/resources/security_warnings/safe_browsing.js [deleted file]
chrome/browser/safe_browsing/ping_manager.cc
chrome/browser/safe_browsing/ping_manager.h
chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
chrome/browser/safe_browsing/safe_browsing_blocking_page.h
chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc
chrome/browser/safe_browsing/ui_manager.cc
chrome/browser/safe_browsing/ui_manager.h
chrome/browser/ssl/ssl_blocking_page.cc
chrome/browser/ssl/ssl_blocking_page.h
chrome/browser/ssl/ssl_browser_tests.cc
chrome/browser/ssl/ssl_error_handler.cc
chrome/browser/ssl/ssl_error_handler.h
chrome/browser/ssl/ssl_error_handler_unittest.cc
chrome/browser/ui/webui/interstitials/interstitial_ui.cc
chrome/common/chrome_switches.cc
chrome/common/chrome_switches.h
tools/metrics/histograms/histograms.xml