Index: chrome/renderer/localized_error.cc |
diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc |
index 430c4afc9957475a75443a998a7959d43fadc5fa..0da06e29b9464a1579ff785f7a70a49fa7577087 100644 |
--- a/chrome/renderer/localized_error.cc |
+++ b/chrome/renderer/localized_error.cc |
@@ -371,7 +371,7 @@ string16 GetErrorDetailsString(const std::string& error_domain, |
const string16& details) { |
int error_page_template; |
const char* error_string; |
- if (error_domain == net::kErrorDomain) { |
+ if (error_domain == net::kErrorDomain || error_domain == "ext") { |
error_page_template = IDS_ERRORPAGES_DETAILS_TEMPLATE; |
error_string = net::ErrorToString(error_code); |
DCHECK(error_code < 0); // Net error codes are negative. |
@@ -402,7 +402,7 @@ const LocalizedErrorMap* FindErrorMapInArray(const LocalizedErrorMap* maps, |
const LocalizedErrorMap* LookupErrorMap(const std::string& error_domain, |
int error_code) { |
- if (error_domain == net::kErrorDomain) { |
+ if (error_domain == net::kErrorDomain || error_domain == "ext") { |
return FindErrorMapInArray(net_error_options, |
arraysize(net_error_options), |
error_code); |