summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/localized_error.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 18:58:37 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 18:58:37 +0000
commitc53976d541527d07f2e71f32abf6646d73071b2e (patch)
tree7d1e88ac366d9b8a50821684d655c520696cd123 /chrome/renderer/localized_error.cc
parent35506359934707a1dc47e0b26684a145835dd9c3 (diff)
downloadchromium_src-c53976d541527d07f2e71f32abf6646d73071b2e.zip
chromium_src-c53976d541527d07f2e71f32abf6646d73071b2e.tar.gz
chromium_src-c53976d541527d07f2e71f32abf6646d73071b2e.tar.bz2
Add a new net::Error value: ERR_CONNECTION_TIMED_OUT.
TEST=net_unittests BUG=none Review URL: http://codereview.chromium.org/159904 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/localized_error.cc')
-rw-r--r--chrome/renderer/localized_error.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc
index ab47125..e95e937 100644
--- a/chrome/renderer/localized_error.cc
+++ b/chrome/renderer/localized_error.cc
@@ -46,6 +46,13 @@ WebErrorNetErrorMap net_error_options[] = {
IDS_ERRORPAGES_DETAILS_TIMED_OUT,
SUGGEST_RELOAD,
},
+ {net::ERR_CONNECTION_TIMED_OUT,
+ IDS_ERRORPAGES_TITLE_NOT_AVAILABLE,
+ IDS_ERRORPAGES_HEADING_NOT_AVAILABLE,
+ IDS_ERRORPAGES_SUMMARY_NOT_AVAILABLE,
+ IDS_ERRORPAGES_DETAILS_TIMED_OUT,
+ SUGGEST_RELOAD,
+ },
{net::ERR_CONNECTION_FAILED,
IDS_ERRORPAGES_TITLE_NOT_AVAILABLE,
IDS_ERRORPAGES_HEADING_NOT_AVAILABLE,