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

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

Issue 2408713003: Show red lock icon on captive portal SSL interstitial (Closed)
Patch Set: Created 4 years, 2 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 b7d22812f3e8098da686251828fc5a391dd31738..21d9a5991881f40b242470c9cbf0fee3ed5166eb 100644
--- a/chrome/browser/ssl/captive_portal_blocking_page.h
+++ b/chrome/browser/ssl/captive_portal_blocking_page.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "chrome/browser/interstitials/security_interstitial_page.h"
#include "content/public/browser/certificate_request_result_type.h"
+#include "net/ssl/ssl_info.h"
#include "url/gurl.h"
#if !defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
@@ -19,6 +20,7 @@
#endif
namespace content {
+class NavigationEntry;
class WebContents;
}
@@ -67,6 +69,7 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage {
// InterstitialPageDelegate method:
void CommandReceived(const std::string& command) override;
+ void OverrideEntry(content::NavigationEntry* entry) override;
void OnProceed() override;
void OnDontProceed() override;
@@ -74,6 +77,7 @@ class CaptivePortalBlockingPage : public SecurityInterstitialPage {
// URL of the login page, opened when the user clicks the "Connect" button.
const GURL login_url_;
std::unique_ptr<CertReportHelper> cert_report_helper_;
+ const net::SSLInfo ssl_info_;
base::Callback<void(content::CertificateRequestResultType)> callback_;
DISALLOW_COPY_AND_ASSIGN(CaptivePortalBlockingPage);
« no previous file with comments | « no previous file | chrome/browser/ssl/captive_portal_blocking_page.cc » ('j') | chrome/browser/ssl/captive_portal_blocking_page.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698