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

Unified Diff: chrome/renderer/localized_error.cc

Issue 4182012: Adds error text for the ERR_NETWORK_ACCESS_DENIED error,... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/localized_error.cc
===================================================================
--- chrome/renderer/localized_error.cc (revision 63512)
+++ chrome/renderer/localized_error.cc (working copy)
@@ -79,6 +79,27 @@
IDS_ERRORPAGES_DETAILS_NAME_NOT_RESOLVED,
SUGGEST_RELOAD,
},
+ {net::ERR_NETWORK_ACCESS_DENIED,
+ IDS_ERRORPAGES_TITLE_NOT_AVAILABLE,
+ IDS_ERRORPAGES_HEADING_NETWORK_ACCESS_DENIED,
+ IDS_ERRORPAGES_SUMMARY_NETWORK_ACCESS_DENIED,
+ IDS_ERRORPAGES_DETAILS_NETWORK_ACCESS_DENIED,
+ SUGGEST_NONE,
+ },
+ {net::ERR_PROXY_CONNECTION_FAILED,
+ IDS_ERRORPAGES_TITLE_NOT_AVAILABLE,
+ IDS_ERRORPAGES_HEADING_PROXY_CONNECTION_FAILED,
+ IDS_ERRORPAGES_SUMMARY_PROXY_CONNECTION_FAILED,
+ IDS_ERRORPAGES_DETAILS_PROXY_CONNECTION_FAILED,
+ SUGGEST_NONE,
+ },
+ {net::ERR_INTERNET_DISCONNECTED,
+ IDS_ERRORPAGES_TITLE_NOT_AVAILABLE,
+ IDS_ERRORPAGES_HEADING_INTERNET_DISCONNECTED,
+ IDS_ERRORPAGES_SUMMARY_INTERNET_DISCONNECTED,
+ IDS_ERRORPAGES_DETAILS_INTERNET_DISCONNECTED,
+ SUGGEST_NONE,
+ },
{net::ERR_FILE_NOT_FOUND,
IDS_ERRORPAGES_TITLE_NOT_FOUND,
IDS_ERRORPAGES_HEADING_NOT_FOUND,
@@ -121,13 +142,6 @@
IDS_ERRORPAGES_DETAILS_SSL_PROTOCOL_ERROR,
SUGGEST_LEARNMORE,
},
- {net::ERR_PROXY_CONNECTION_FAILED,
- IDS_ERRORPAGES_TITLE_PROXY_CONNECTION_FAILED,
- IDS_ERRORPAGES_HEADING_PROXY_CONNECTION_FAILED,
- IDS_ERRORPAGES_SUMMARY_PROXY_CONNECTION_FAILED,
- IDS_ERRORPAGES_DETAILS_PROXY_CONNECTION_FAILED,
- SUGGEST_NONE,
- },
{net::ERR_ESET_ANTI_VIRUS_SSL_INTERCEPTION,
IDS_ERRORPAGES_TITLE_LOAD_FAILED,
IDS_ERRORPAGES_HEADING_ESET_ANTI_VIRUS_SSL_INTERCEPTION,
@@ -142,13 +156,6 @@
IDS_ERRORPAGES_DETAILS_SSL_PROTOCOL_ERROR,
SUGGEST_LEARNMORE,
},
- {net::ERR_INTERNET_DISCONNECTED,
- IDS_ERRORPAGES_TITLE_INTERNET_DISCONNECTED,
- IDS_ERRORPAGES_HEADING_INTERNET_DISCONNECTED,
- IDS_ERRORPAGES_SUMMARY_INTERNET_DISCONNECTED,
- IDS_ERRORPAGES_DETAILS_INTERNET_DISCONNECTED,
- SUGGEST_NONE,
- },
};
const LocalizedErrorMap http_error_options[] = {
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698