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

Unified Diff: chrome/browser/ssl/ssl_blocking_page.cc

Issue 318213002: Add custom interstitial for captive portals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Stop the timer at the right place Created 6 years, 1 month 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/ssl_blocking_page.cc
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
index bd5ca8a449aac8fdbefa21788a5d5881c8299b42..aa7f23a8794180b9baa2ea8a6c212f2fb3852686 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -313,8 +313,7 @@ SSLBlockingPage::SSLBlockingPage(content::WebContents* web_contents,
callback_(callback),
cert_error_(cert_error),
ssl_info_(ssl_info),
- overridable_(options_mask & OVERRIDABLE &&
- !(options_mask & STRICT_ENFORCEMENT)),
+ overridable_(IsOverridable(options_mask)),
strict_enforcement_((options_mask & STRICT_ENFORCEMENT) != 0),
internal_(false),
num_visits_(-1),

Powered by Google App Engine
This is Rietveld 408576698