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

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

Issue 861953002: Add login url to captive portal interstitial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 11 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 7e5b7ae8cd195c613aff6d31fcd5245c39e737be..18a4bab5613c48669735641cf375a9719d7a4c8f 100644
--- a/chrome/browser/ssl/captive_portal_blocking_page.h
+++ b/chrome/browser/ssl/captive_portal_blocking_page.h
@@ -10,8 +10,7 @@
#include "base/callback.h"
#include "base/macros.h"
#include "chrome/browser/interstitials/security_interstitial_page.h"
-
-class GURL;
+#include "url/gurl.h"
namespace content{
class WebContents;
@@ -31,6 +30,7 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage {
CaptivePortalBlockingPage(content::WebContents* web_contents,
const GURL& request_url,
+ const GURL& login_url,
const base::Callback<void(bool)>& callback);
~CaptivePortalBlockingPage() override;
@@ -47,6 +47,8 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage {
void CommandReceived(const std::string& command) override;
private:
+ // URL of the login page, opened when the user clicks the "Connect" button.
+ GURL login_url_;
base::Callback<void(bool)> callback_;
DISALLOW_COPY_AND_ASSIGN(CaptivePortalBlockingPage);

Powered by Google App Engine
This is Rietveld 408576698