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

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

Issue 581803002: Component updater must fallback on using HTTP on Windows XPSP2 and below (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 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.cc
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
index f9aa36ae16bf1acb50a0e50826c794f1437161ba..edb9121b028df0ff0043426c0d7296ea55f6a86f 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -470,8 +470,8 @@ std::string SSLBlockingPage::GetHTMLContents() {
} else {
SSLErrorInfo::ErrorType type =
SSLErrorInfo::NetErrorToErrorType(cert_error_);
- if (type == SSLErrorInfo::CERT_INVALID && SSLErrorClassification::
- IsWindowsVersionSP3OrLower()) {
+ if (type == SSLErrorInfo::CERT_INVALID && !SSLErrorClassification::
+ MaybeOSHasSHA256Support()) {
load_time_data.SetString(
felt 2014/09/18 18:30:36 This check displays the string IDS_SSL_NONOVERRIDA
Sorin Jianu 2014/09/18 18:41:07 The observable behavior of the code should be the
felt 2014/09/18 18:44:27 No, if the behavior is the same, then that's fine.
felt 2014/09/18 18:52:23 (Please feel free to add the platform specific com
"explanationParagraph",
l10n_util::GetStringFUTF16(

Powered by Google App Engine
This is Rietveld 408576698