diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 16:40:33 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 16:40:33 +0000 |
commit | fd124d0ac198e70d8287b345589a0713068d3a8f (patch) | |
tree | 72700a3121ce34d890ebe72db5b871b5a8b84b81 /chrome/renderer/localized_error.cc | |
parent | 9cac94e630efc92e3fe955a962da7775ee1b9d70 (diff) | |
download | chromium_src-fd124d0ac198e70d8287b345589a0713068d3a8f.zip chromium_src-fd124d0ac198e70d8287b345589a0713068d3a8f.tar.gz chromium_src-fd124d0ac198e70d8287b345589a0713068d3a8f.tar.bz2 |
net: add help link for ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY
The page on the help site isn't ready yet so we're going with a page
on dev.chromium.org in order to have something at least.
http://codereview.chromium.org/3436012/show
BUG=57201
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/localized_error.cc')
-rw-r--r-- | chrome/renderer/localized_error.cc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc index cd5c6f9..216992b 100644 --- a/chrome/renderer/localized_error.cc +++ b/chrome/renderer/localized_error.cc @@ -23,8 +23,10 @@ using WebKit::WebURLError; namespace { -static const char* kRedirectLoopLearnMoreUrl = +static const char kRedirectLoopLearnMoreUrl[] = "http://www.google.com/support/chrome/bin/answer.py?answer=95626"; +static const char kWeakDHKeyLearnMoreUrl[] = + "http://sites.google.com/a/chromium.org/dev/err_ssl_weak_server_ephemeral_dh_key"; enum NAV_SUGGESTIONS { SUGGEST_NONE = 0, @@ -113,6 +115,13 @@ const LocalizedErrorMap net_error_options[] = { IDS_ERRORPAGES_DETAILS_BAD_SSL_CLIENT_AUTH_CERT, SUGGEST_NONE, }, + {net::ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, + IDS_ERRORPAGES_TITLE_LOAD_FAILED, + IDS_ERRORPAGES_HEADING_SSL_PROTOCOL_ERROR, + IDS_ERRORPAGES_SUMMARY_SSL_PROTOCOL_ERROR, + IDS_ERRORPAGES_DETAILS_SSL_PROTOCOL_ERROR, + SUGGEST_LEARNMORE, + }, }; const LocalizedErrorMap http_error_options[] = { @@ -350,6 +359,9 @@ void LocalizedError::GetStrings(const WebKit::WebURLError& error, case net::ERR_TOO_MANY_REDIRECTS: learn_more_url = GURL(kRedirectLoopLearnMoreUrl); break; + case net::ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY: + learn_more_url = GURL(kWeakDHKeyLearnMoreUrl); + break; default: break; } |