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

Unified Diff: chrome/browser/ssl/cert_report_helper.h

Issue 2575233003: Record the time when the interstitial is constructed (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chrome/browser/ssl/captive_portal_blocking_page.cc ('k') | chrome/browser/ssl/cert_report_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/cert_report_helper.h
diff --git a/chrome/browser/ssl/cert_report_helper.h b/chrome/browser/ssl/cert_report_helper.h
index 868a3c90c427ab507f1d16ef9f12dfb798a710db..ce37f4aab02c2b998ebc8ee0bfc69c1ce5a56134 100644
--- a/chrome/browser/ssl/cert_report_helper.h
+++ b/chrome/browser/ssl/cert_report_helper.h
@@ -44,6 +44,7 @@ class CertReportHelper {
certificate_reporting::ErrorReport::InterstitialReason
interstitial_reason,
bool overridable,
+ const base::Time& interstitial_time,
security_interstitials::MetricsHelper* metrics_helper);
virtual ~CertReportHelper();
@@ -88,6 +89,8 @@ class CertReportHelper {
// True if the user was given the option to proceed through the
// certificate chain error being reported.
bool overridable_;
+ // The time at which the interstitial was constructed.
+ const base::Time interstitial_time_;
// Helpful for recording metrics about cert reports.
security_interstitials::MetricsHelper* metrics_helper_;
« no previous file with comments | « chrome/browser/ssl/captive_portal_blocking_page.cc ('k') | chrome/browser/ssl/cert_report_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698