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

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

Issue 2603433002: Move SecurityInterstitialPage into component (Closed)
Patch Set: nit, refind comments 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
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 dcb411b1dc3de2034fa05ecaca091895edd05e83..c1f6977bf0ed4ad94264398e359ebc4ad27057f8 100644
--- a/chrome/browser/ssl/bad_clock_blocking_page.cc
+++ b/chrome/browser/ssl/bad_clock_blocking_page.cc
@@ -68,9 +68,12 @@ BadClockBlockingPage::BadClockBlockingPage(
ssl_errors::ClockState clock_state,
std::unique_ptr<SSLCertReporter> ssl_cert_reporter,
const base::Callback<void(content::CertificateRequestResultType)>& callback)
- : SecurityInterstitialPage(web_contents,
- request_url,
- CreateMetricsHelper(web_contents, request_url)),
+ : SecurityInterstitialPage(
+ web_contents,
+ request_url,
+ base::MakeUnique<ChromeControllerClient>(
+ web_contents,
+ CreateMetricsHelper(web_contents, request_url))),
callback_(callback),
ssl_info_(ssl_info),
cert_report_helper_(new CertReportHelper(

Powered by Google App Engine
This is Rietveld 408576698