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

Unified Diff: chrome/browser/ssl/bad_clock_blocking_page.cc

Issue 1772143002: Use network time for bad clock interstitial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estark review 3 Created 4 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | chrome/browser/ssl/ssl_error_handler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/bad_clock_blocking_page.cc
diff --git a/chrome/browser/ssl/bad_clock_blocking_page.cc b/chrome/browser/ssl/bad_clock_blocking_page.cc
index 2e40a356c7949464bf175020b03067c164da5485..a570d8e9ad7957a1b0bcd0d88046f9cf68a0e5c0 100644
--- a/chrome/browser/ssl/bad_clock_blocking_page.cc
+++ b/chrome/browser/ssl/bad_clock_blocking_page.cc
@@ -8,6 +8,7 @@
#include "base/callback_helpers.h"
#include "base/strings/string_number_conversions.h"
+#include "chrome/browser/browser_process.h"
#include "chrome/browser/interstitials/chrome_controller_client.h"
#include "chrome/browser/interstitials/chrome_metrics_helper.h"
#include "chrome/browser/profiles/profile.h"
@@ -86,8 +87,8 @@ BadClockBlockingPage::BadClockBlockingPage(
false /* overridable */, controller_->metrics_helper()));
bad_clock_ui_.reset(new security_interstitials::BadClockUI(
- request_url, cert_error, ssl_info, time_triggered, languages,
- controller_.get()));
+ request_url, cert_error, ssl_info, time_triggered,
+ g_browser_process->network_time_tracker(), languages, controller_.get()));
}
BadClockBlockingPage::~BadClockBlockingPage() {
« no previous file with comments | « no previous file | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | chrome/browser/ssl/ssl_error_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698