Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5652)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 450833002: Add additional UMA stats for remembering certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: felt nit Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index f6553c3e8370a3fa1221f398a8862494add9d927..ceef6df7fc1db12417a4c3321f88c07c3bfa18fc 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1656,6 +1656,7 @@ void ChromeContentBrowserClient::AllowCertificateError(
ResourceType resource_type,
bool overridable,
bool strict_enforcement,
+ bool expired_previous_decision,
const base::Callback<void(bool)>& callback,
content::CertificateRequestResultType* result) {
if (resource_type != content::RESOURCE_TYPE_MAIN_FRAME) {
@@ -1693,9 +1694,15 @@ void ChromeContentBrowserClient::AllowCertificateError(
// Otherwise, display an SSL blocking page. The interstitial page takes
// ownership of ssl_blocking_page.
- SSLBlockingPage* ssl_blocking_page = new SSLBlockingPage(
- tab, cert_error, ssl_info, request_url, overridable,
- strict_enforcement, callback);
+ SSLBlockingPage* ssl_blocking_page =
+ new SSLBlockingPage(tab,
+ cert_error,
+ ssl_info,
+ request_url,
+ overridable,
+ strict_enforcement,
+ expired_previous_decision,
+ callback);
ssl_blocking_page->Show();
}

Powered by Google App Engine
This is Rietveld 408576698