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

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

Issue 664503006: Implementation of the full clock interstitial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed comment wrapping for Chris. :-) Created 6 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/ssl_blocking_page.h
diff --git a/chrome/browser/ssl/ssl_blocking_page.h b/chrome/browser/ssl/ssl_blocking_page.h
index ff575ae5304f44060a3e19266372017b3c77f713..fa510085be5881ff9c8d91b297a9ea63744bde2b 100644
--- a/chrome/browser/ssl/ssl_blocking_page.h
+++ b/chrome/browser/ssl/ssl_blocking_page.h
@@ -102,9 +102,15 @@ class SSLBlockingPage : public content::InterstitialPageDelegate {
const int cert_error_;
const net::SSLInfo ssl_info_;
const GURL request_url_;
- // Could the user successfully override the error?
- // overridable_ will be set to false if strict_enforcement_ is true.
+ // There are two ways for the user to override an interstitial:
+ //
+ // overridable_) By clicking on "Advanced" and then "Proceed".
+ // - This corresponds to "the user can override using the UI".
+ // danger_overridable_) By typing the word "danger".
+ // - This is an undocumented workaround.
+ // - This can be set to "false" dynamically to prevent the behaviour.
const bool overridable_;
+ bool danger_overridable_;
// Has the site requested strict enforcement of certificate errors?
const bool strict_enforcement_;
content::InterstitialPage* interstitial_page_; // Owns us.
« no previous file with comments | « chrome/browser/resources/security_warnings/interstitial_v2.js ('k') | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698