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

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

Issue 1189413003: Added CaptivePortal Interstitial to chrome://interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: html 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.h
diff --git a/chrome/browser/ssl/captive_portal_blocking_page.h b/chrome/browser/ssl/captive_portal_blocking_page.h
index 1fe4bf1c155e22567b5f20f5c8d9e366882877a2..1432d2f22a721a7691ad7b9fff757e753189cf11 100644
--- a/chrome/browser/ssl/captive_portal_blocking_page.h
+++ b/chrome/browser/ssl/captive_portal_blocking_page.h
@@ -57,7 +57,8 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage {
// SecurityInterstitialPage method:
const void* GetTypeForTesting() const override;
- void SetDelegateForTesting(Delegate* delegate) { delegate_.reset(delegate); }
+ // Should only be used for testing and chrome://interstitials page.
+ void SetDelegate(Delegate* delegate) { delegate_.reset(delegate); }
protected:
// SecurityInterstitialPage methods:

Powered by Google App Engine
This is Rietveld 408576698