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

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

Issue 8856010: Remove the wording that suggests it is possible to proceed after fatal SSL error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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_roadblock.html ('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
===================================================================
--- chrome/browser/ssl/ssl_blocking_page.cc (revision 114571)
+++ chrome/browser/ssl/ssl_blocking_page.cc (working copy)
@@ -89,6 +89,9 @@
l10n_util::GetStringUTF16(IDS_SSL_BLOCKING_PAGE_PROCEED));
strings.SetString("exit",
l10n_util::GetStringUTF16(IDS_SSL_BLOCKING_PAGE_EXIT));
+ strings.SetString("shouldNotProceed",
+ l10n_util::GetStringUTF16(
+ IDS_SSL_BLOCKING_PAGE_SHOULD_NOT_PROCEED));
} else {
resource_id = IDR_SSL_ERROR_HTML;
strings.SetString("title",
@@ -168,7 +171,7 @@
void SSLBlockingPage::SetExtraInfo(
DictionaryValue* strings,
const std::vector<string16>& extra_info) {
- DCHECK(extra_info.size() < 5); // We allow 5 paragraphs max.
+ DCHECK_LT(extra_info.size(), 5U); // We allow 5 paragraphs max.
const char* keys[5] = {
"moreInfo1", "moreInfo2", "moreInfo3", "moreInfo4", "moreInfo5"
};
« no previous file with comments | « chrome/browser/resources/ssl_roadblock.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698