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

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

Issue 940543003: added clock interstitial to chrome://interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added clock interstitial to chrome://interstitials Created 5 years, 10 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/ssl/ssl_blocking_page.h
diff --git a/chrome/browser/ssl/ssl_blocking_page.h b/chrome/browser/ssl/ssl_blocking_page.h
index dac5ab41a2f8050a7f99685cf017b820cde0716b..6d427c1bd84b36229787569b2b9891facf31bf8d 100644
--- a/chrome/browser/ssl/ssl_blocking_page.h
+++ b/chrome/browser/ssl/ssl_blocking_page.h
@@ -70,6 +70,7 @@ class SSLBlockingPage : public SecurityInterstitialPage {
const net::SSLInfo& ssl_info,
const GURL& request_url,
int options_mask,
+ const base::Time& time_triggered,
const base::Callback<void(bool)>& callback);
// SecurityInterstitialPage method:
@@ -118,6 +119,9 @@ class SSLBlockingPage : public SecurityInterstitialPage {
const bool expired_but_previously_allowed_;
scoped_ptr<SSLErrorClassification> ssl_error_classification_;
scoped_ptr<SecurityInterstitialMetricsHelper> metrics_helper_;
+ // The time at which the interstitial was triggered. The interstitial
+ // calculates all times relative to this.
+ const base::Time time_triggered_;
// Which type of interstitial this is.
enum SSLInterstitialReason {
« no previous file with comments | « chrome/browser/resources/security_warnings/interstitial_ui.html ('k') | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698