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

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

Issue 1189413003: Added CaptivePortal Interstitial to chrome://interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some style changes Created 5 years, 6 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_browsertest.cc
diff --git a/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc b/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc
index 91a9da9d98cf7343dc5bd67925faea78b6563694..0d649ee633bc87fb176f524546a33baa85c1b2c0 100644
--- a/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc
+++ b/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc
@@ -130,7 +130,7 @@ void CaptivePortalBlockingPageTest::TestInterstitial(
CaptivePortalBlockingPage* blocking_page = new CaptivePortalBlockingPage(
contents, GURL(kBrokenSSL), login_url, ssl_cert_reporter.Pass(), ssl_info,
base::Callback<void(bool)>());
- blocking_page->SetDelegateForTesting(delegate);
+ blocking_page->SetDelegate(delegate);
blocking_page->Show();
WaitForInterstitialAttach(contents);
@@ -305,7 +305,7 @@ class CaptivePortalBlockingPageIDNTest : public SecurityInterstitialIDNTest {
CaptivePortalBlockingPage* blocking_page = new CaptivePortalBlockingPage(
contents, GURL(kBrokenSSL), request_url, nullptr, empty_ssl_info,
base::Callback<void(bool)>());
- blocking_page->SetDelegateForTesting(delegate);
+ blocking_page->SetDelegate(delegate);
return blocking_page;
}
};

Powered by Google App Engine
This is Rietveld 408576698