| Index: components/error_page/common/localized_error.cc
|
| diff --git a/components/error_page/common/localized_error.cc b/components/error_page/common/localized_error.cc
|
| index 3a84ddb27d990ee0eb2319b6509eb1319f80bb5e..dd5fe55c3673bb7baee650fef1d0bdbcec6b33b7 100644
|
| --- a/components/error_page/common/localized_error.cc
|
| +++ b/components/error_page/common/localized_error.cc
|
| @@ -92,6 +92,7 @@ struct LocalizedErrorMap {
|
| int suggestions; // Bitmap of SUGGEST_* values.
|
| };
|
|
|
| +// clang-format off
|
| const LocalizedErrorMap net_error_options[] = {
|
| {net::ERR_TIMED_OUT,
|
| IDS_ERRORPAGES_TITLE_NOT_AVAILABLE,
|
| @@ -352,7 +353,15 @@ const LocalizedErrorMap net_error_options[] = {
|
| IDS_ERRORPAGES_DETAILS_SSL_PROTOCOL_ERROR,
|
| SUGGEST_NONE,
|
| },
|
| + {net::ERR_BLOCKED_BY_RESPONSE,
|
| + IDS_ERRORPAGES_TITLE_BLOCKED,
|
| + IDS_ERRORPAGES_HEADING_BLOCKED,
|
| + IDS_ERRORPAGES_SUMMARY_CONNECTION_REFUSED,
|
| + IDS_ERRORPAGES_DETAILS_CONNECTION_REFUSED,
|
| + SUGGEST_NONE,
|
| + },
|
| };
|
| +// clang-format on
|
|
|
| // Special error page to be used in the case of navigating back to a page
|
| // generated by a POST. LocalizedError::HasStrings expects this net error code
|
|
|