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 ecdf073c3284b2ab6ddb94b97b17818d52d9e206..e5cdd8976790fc26af4452274899758d9c39a6f1 100644 |
--- a/chrome/browser/ssl/captive_portal_blocking_page.h |
+++ b/chrome/browser/ssl/captive_portal_blocking_page.h |
@@ -41,6 +41,10 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage { |
is_wifi_connection_ = is_wifi_connection; |
} |
+ void SetWiFiSSIDForTesting(const std::string& wifi_ssid) { |
+ wifi_ssid_ = wifi_ssid; |
+ } |
+ |
protected: |
// SecurityInterstitialPage methods: |
void PopulateInterstitialStrings( |
@@ -55,6 +59,9 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage { |
GURL login_url_; |
// True if on a Wi-Fi connection. |
bool is_wifi_connection_; |
+ // SSID of the connected network if the connection is a Wi-Fi connection. |
+ std::string wifi_ssid_; |
+ |
base::Callback<void(bool)> callback_; |
DISALLOW_COPY_AND_ASSIGN(CaptivePortalBlockingPage); |