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: |