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

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..1cb90cc6c47263cc85c65632a0dad2a6e4d83268 100644
--- a/chrome/browser/ssl/ssl_blocking_page.h
+++ b/chrome/browser/ssl/ssl_blocking_page.h
@@ -70,7 +70,8 @@ class SSLBlockingPage : public SecurityInterstitialPage {
const net::SSLInfo& ssl_info,
const GURL& request_url,
int options_mask,
- const base::Callback<void(bool)>& callback);
+ const base::Callback<void(bool)>& callback,
+ const base::Time& time_triggered);
// SecurityInterstitialPage method:
const void* GetTypeForTesting() const override;
@@ -118,6 +119,8 @@ class SSLBlockingPage : public SecurityInterstitialPage {
const bool expired_but_previously_allowed_;
scoped_ptr<SSLErrorClassification> ssl_error_classification_;
scoped_ptr<SecurityInterstitialMetricsHelper> metrics_helper_;
+ // The interstitial is supposed to use this for all time-based calculations
+ const base::Time time_triggered_;
// Which type of interstitial this is.
enum SSLInterstitialReason {

Powered by Google App Engine
This is Rietveld 408576698