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

Unified Diff: chrome/browser/ui/webui/interstitials/interstitial_ui.cc

Issue 450833002: Add additional UMA stats for remembering certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address felt comments 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/ui/webui/interstitials/interstitial_ui.cc
diff --git a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
index a8e1f8df8d2006cd5780018114b11ff6a6db733f..7188e3be068ee14b79ad3ea1b284507f73ea9f2d 100644
--- a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
+++ b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
@@ -75,9 +75,13 @@ SSLBlockingPage* CreateSSLBlockingPage(content::WebContents* web_contents) {
ssl_info.cert = new net::X509Certificate(
request_url.host(), "CA", base::Time::Max(), base::Time::Max());
// This delegate doesn't create an interstitial.
- return new SSLBlockingPage(web_contents, cert_error, ssl_info,
- request_url, overridable,
+ return new SSLBlockingPage(web_contents,
+ cert_error,
+ ssl_info,
+ request_url,
+ overridable,
strict_enforcement,
+ false,
base::Callback<void(bool)>());
}

Powered by Google App Engine
This is Rietveld 408576698