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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc

Issue 1365733005: Split captive portal metrics out of SSLErrorClassification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compiler error fix possibly for realsies Created 5 years, 3 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/safe_browsing/safe_browsing_blocking_page.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index c74fb7a28b4f7f7880b003ca314ad64a86833f5a..342e59d19987547ff314c359e88f755ff825ad46 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -172,8 +172,11 @@ SafeBrowsingBlockingPage::SafeBrowsingBlockingPage(
reporting_info.extra_suffix = GetExtraMetricsSuffix();
reporting_info.rappor_prefix = GetRapporPrefix();
reporting_info.rappor_report_type = rappor::SAFEBROWSING_RAPPOR_TYPE;
- set_metrics_helper(new ChromeMetricsHelper(
- web_contents, request_url(), reporting_info, GetSamplingEventName()));
+ set_metrics_helper(
+ make_scoped_ptr(new ChromeMetricsHelper(web_contents, request_url(),
+ reporting_info,
+ GetSamplingEventName()))
+ .Pass());
metrics_helper()->RecordUserDecision(
security_interstitials::MetricsHelper::SHOW);
metrics_helper()->RecordUserInteraction(
« no previous file with comments | « chrome/browser/interstitials/security_interstitial_page.cc ('k') | chrome/browser/ssl/bad_clock_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698