Index: chrome/renderer/localized_error.cc |
diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc |
index 3476505d13f7fdf576ee6e305d9ae849bda4cff6..c6bdbaad26144cef8794f4a0c830dbf111e08d7d 100644 |
--- a/chrome/renderer/localized_error.cc |
+++ b/chrome/renderer/localized_error.cc |
@@ -34,6 +34,8 @@ static const char kWeakDHKeyLearnMoreUrl[] = |
"http://sites.google.com/a/chromium.org/dev/err_ssl_weak_server_ephemeral_dh_key"; |
static const char kESETLearnMoreUrl[] = |
"http://kb.eset.com/esetkb/index?page=content&id=SOLN2588"; |
+static const char kKasperskyLearnMoreUrl[] = |
+ "http://support.kaspersky.com/kav2012/settings/options?print=true&qid=208284701"; |
enum NAV_SUGGESTIONS { |
SUGGEST_NONE = 0, |
@@ -215,6 +217,13 @@ const LocalizedErrorMap net_error_options[] = { |
IDS_ERRORPAGES_DETAILS_SSL_PROTOCOL_ERROR, |
SUGGEST_LEARNMORE, |
}, |
+ {net::ERR_KASPERSKY_ANTI_VIRUS_SSL_INTERCEPTION, |
+ IDS_ERRORPAGES_TITLE_LOAD_FAILED, |
+ IDS_ERRORPAGES_HEADING_KASPERSKY_ANTI_VIRUS_SSL_INTERCEPTION, |
+ IDS_ERRORPAGES_SUMMARY_KASPERSKY_ANTI_VIRUS_SSL_INTERCEPTION, |
+ IDS_ERRORPAGES_DETAILS_SSL_PROTOCOL_ERROR, |
+ SUGGEST_LEARNMORE, |
+ }, |
{net::ERR_TEMPORARILY_THROTTLED, |
IDS_ERRORPAGES_TITLE_ACCESS_DENIED, |
IDS_ERRORPAGES_HEADING_ACCESS_DENIED, |
@@ -548,6 +557,9 @@ void LocalizedError::GetStrings(const WebKit::WebURLError& error, |
case net::ERR_ESET_ANTI_VIRUS_SSL_INTERCEPTION: |
learn_more_url = GURL(kESETLearnMoreUrl); |
break; |
+ case net::ERR_KASPERSKY_ANTI_VIRUS_SSL_INTERCEPTION: |
+ learn_more_url = GURL(kKasperskyLearnMoreUrl); |
+ break; |
default: |
break; |
} |