Index: components/security_interstitials/core/ssl_error_ui.cc |
diff --git a/components/security_interstitials/core/ssl_error_ui.cc b/components/security_interstitials/core/ssl_error_ui.cc |
index a02f0b016e5aebf0c65ef6e5064b15fe245d8d99..4e8ebe6723a7d9f488a1747472461abb04cff760 100644 |
--- a/components/security_interstitials/core/ssl_error_ui.cc |
+++ b/components/security_interstitials/core/ssl_error_ui.cc |
@@ -24,13 +24,15 @@ bool IsMasked(int options, SSLErrorUI::SSLErrorOptionsMask mask) { |
} // namespace |
-SSLErrorUI::SSLErrorUI(const GURL& request_url, |
- int cert_error, |
- const net::SSLInfo& ssl_info, |
- int display_options, |
- const base::Time& time_triggered, |
- const std::string& languages, |
- ControllerClient* controller) |
+SSLErrorUI::SSLErrorUI( |
+ const GURL& request_url, |
+ int cert_error, |
+ const net::SSLInfo& ssl_info, |
+ int display_options, |
+ const base::Time& time_triggered, |
+ const network_time::NetworkTimeTracker* network_time_tracker, |
+ const std::string& languages, |
+ ControllerClient* controller) |
: request_url_(request_url), |
cert_error_(cert_error), |
ssl_info_(ssl_info), |
@@ -47,8 +49,8 @@ SSLErrorUI::SSLErrorUI(const GURL& request_url, |
controller_->metrics_helper()->RecordUserInteraction( |
MetricsHelper::TOTAL_VISITS); |
ssl_errors::RecordUMAStatistics(soft_override_enabled_, time_triggered_, |
- request_url, cert_error_, |
- *ssl_info_.cert.get()); |
+ network_time_tracker, request_url, |
+ cert_error_, *ssl_info_.cert.get()); |
} |
SSLErrorUI::~SSLErrorUI() { |