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

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

Issue 2303413002: Simplify security_interstitials::ControllerClient and other related classes (Closed)
Patch Set: namespaces Created 4 years, 3 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/captive_portal_blocking_page.cc
diff --git a/chrome/browser/ssl/captive_portal_blocking_page.cc b/chrome/browser/ssl/captive_portal_blocking_page.cc
index 542a5b42532c868035b70bac2fa37d7f405157db..6cd2d947ff3aebb36e06843e802f3ac6c7bbcf84 100644
--- a/chrome/browser/ssl/captive_portal_blocking_page.cc
+++ b/chrome/browser/ssl/captive_portal_blocking_page.cc
@@ -21,6 +21,7 @@
#include "components/certificate_reporting/error_reporter.h"
#include "components/security_interstitials/core/common_string_util.h"
#include "components/security_interstitials/core/controller_client.h"
+#include "components/security_interstitials/core/metrics_helper.h"
#include "components/url_formatter/url_formatter.h"
#include "components/wifi/wifi_service.h"
#include "content/public/browser/web_contents.h"
@@ -56,7 +57,7 @@ CaptivePortalBlockingPage::CaptivePortalBlockingPage(
std::unique_ptr<SSLCertReporter> ssl_cert_reporter,
const net::SSLInfo& ssl_info,
const base::Callback<void(content::CertificateRequestResultType)>& callback)
- : SecurityInterstitialPage(web_contents, request_url),
+ : SecurityInterstitialPage(web_contents, request_url, nullptr),
felt 2016/09/06 20:33:19 did you intend to add a metrics helper here (since
meacer 2016/09/06 20:40:16 I'm doing that in a follow up CL: https://coderevi
felt 2016/09/07 00:06:12 can you remove the unnecessary include then from t
login_url_(login_url),
callback_(callback) {
DCHECK(login_url_.is_valid());

Powered by Google App Engine
This is Rietveld 408576698