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

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

Issue 336273002: Suggest upgrading to SP3 or later for invalid certificate errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Get the version using OSInfo Created 6 years, 6 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 605115854af52bd05e0c62adbebd1dbd44160c1d..4f42e2387318ae371ed7e02393ecf07c5b17105c 100644
--- a/chrome/browser/ssl/ssl_blocking_page.h
+++ b/chrome/browser/ssl/ssl_blocking_page.h
@@ -14,6 +14,7 @@
#include "chrome/browser/history/history_service.h"
#include "content/public/browser/interstitial_page_delegate.h"
#include "net/ssl/ssl_info.h"
+#include "ssl_error_info.h"
#include "url/gurl.h"
namespace base {
@@ -120,12 +121,17 @@ class SSLBlockingPage : public content::InterstitialPageDelegate,
bool captive_portal_no_response_;
// Was a captive portal detected?
bool captive_portal_detected_;
+ // Used to find if the version of Windows XP is SP3 or lower.
+ static bool WindowsVersionSP3Lower();
// For the FieldTrial: this contains the name of the condition.
std::string trial_condition_;
content::NotificationRegistrar registrar_;
+ FRIEND_TEST_ALL_PREFIXES(SSLBlockingPageTest,
+ SSLBlockingPageWindowsVersionTest);
+
DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage);
};

Powered by Google App Engine
This is Rietveld 408576698