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

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

Issue 407693003: Always show SSL error code at bottom of interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ca97c2b60a0a90009235bd3716fc0b3b657f2126..17dbcc751953dddd5d9d13dcd6a73d03ff9fb956 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -511,6 +511,7 @@ std::string SSLBlockingPage::GetHTMLContentsV2() {
load_time_data.SetString(
"closeDetails",
l10n_util::GetStringUTF16(IDS_SSL_V2_CLOSE_DETAILS_BUTTON));
+ load_time_data.SetString("errorCode", net::ErrorToString(cert_error_));
if (overridable_ && !strict_enforcement_) { // Overridable.
SSLErrorInfo error_info =
@@ -557,7 +558,6 @@ std::string SSLBlockingPage::GetHTMLContentsV2() {
}
load_time_data.SetString(
"finalParagraph", l10n_util::GetStringFUTF16(help_string, url));
- load_time_data.SetString("errorCode", net::ErrorToString(cert_error_));
}
base::StringPiece html(
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698