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

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

Issue 10381051: Show the "cannot proceed" text only when appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/ssl_blocking_page.h
===================================================================
--- chrome/browser/ssl/ssl_blocking_page.h (revision 135669)
+++ chrome/browser/ssl/ssl_blocking_page.h (working copy)
@@ -35,6 +35,7 @@
const net::SSLInfo& ssl_info,
const GURL& request_url,
bool overridable,
+ bool strict_enforcement,
const base::Callback<void(bool)>& callback);
virtual ~SSLBlockingPage();
@@ -65,8 +66,10 @@
int cert_error_;
net::SSLInfo ssl_info_;
GURL request_url_;
- // Is the certificate error overridable or fatal?
+ // Could the user successfully override the error?
bool overridable_;
+ // Has the site requested strict enforcement of certificate errors?
+ bool strict_enforcement_;
content::InterstitialPage* interstitial_page_; // Owns us.
DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage);

Powered by Google App Engine
This is Rietveld 408576698