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

Unified Diff: ppapi/host/error_conversion.cc

Issue 1002283005: Add an error page for net::ERR_ICANN_NAME_COLLISION. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dns_53
Patch Set: rebase (dependent change now landed) Created 5 years, 9 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
« chrome/app/generated_resources.grd ('K') | « chrome/common/localized_error.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/error_conversion.cc
diff --git a/ppapi/host/error_conversion.cc b/ppapi/host/error_conversion.cc
index 2b7d73c9ad74fcf53be1912d30428812fbc4c337..f97b121b9c04c36ee2528f0dd2598ac6a264794a 100644
--- a/ppapi/host/error_conversion.cc
+++ b/ppapi/host/error_conversion.cc
@@ -53,6 +53,7 @@ int32_t NetErrorToPepperError(int net_error) {
case net::ERR_CONNECTION_FAILED:
return PP_ERROR_CONNECTION_FAILED;
case net::ERR_NAME_NOT_RESOLVED:
+ case net::ERR_ICANN_NAME_COLLISION:
return PP_ERROR_NAME_NOT_RESOLVED;
case net::ERR_ADDRESS_INVALID:
return PP_ERROR_ADDRESS_INVALID;
« chrome/app/generated_resources.grd ('K') | « chrome/common/localized_error.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698