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 18a4bab5613c48669735641cf375a9719d7a4c8f..87c56803ac14d78eacf7903d8abaadff1525bd2b 100644 |
--- a/chrome/browser/ssl/captive_portal_blocking_page.h |
+++ b/chrome/browser/ssl/captive_portal_blocking_page.h |
@@ -37,6 +37,10 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage { |
// SecurityInterstitialPage method: |
const void* GetTypeForTesting() const override; |
+ void set_wifi_connection_for_testing(bool is_wifi_connection) { |
felt
2015/01/27 23:00:39
Should this be SetWifiConnectionForTesting(...) in
meacer
2015/01/28 00:40:27
Done.
|
+ is_wifi_connection_ = is_wifi_connection; |
+ } |
+ |
protected: |
// SecurityInterstitialPage methods: |
void PopulateInterstitialStrings( |
@@ -49,6 +53,8 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage { |
private: |
// URL of the login page, opened when the user clicks the "Connect" button. |
GURL login_url_; |
+ // True if on a Wi-Fi connection. |
+ bool is_wifi_connection_; |
base::Callback<void(bool)> callback_; |
DISALLOW_COPY_AND_ASSIGN(CaptivePortalBlockingPage); |