diff options
author | eroman <eroman@chromium.org> | 2015-03-27 12:04:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-27 19:05:33 +0000 |
commit | 9004cf38091c4e82f47e5cdeeb1f71e676e28855 (patch) | |
tree | fa69022556f8073424219b42e42c881d033cdc14 /ppapi | |
parent | 0fcfd549d6f82dbae4867b816b355aeb6329d8bb (diff) | |
download | chromium_src-9004cf38091c4e82f47e5cdeeb1f71e676e28855.zip chromium_src-9004cf38091c4e82f47e5cdeeb1f71e676e28855.tar.gz chromium_src-9004cf38091c4e82f47e5cdeeb1f71e676e28855.tar.bz2 |
Test for net::ERR_ICANN_NAME_COLLISION in other places that check host resolover failures.
BUG=470704
Review URL: https://codereview.chromium.org/1037043002
Cr-Commit-Position: refs/heads/master@{#322619}
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/host/error_conversion.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/host/error_conversion.cc b/ppapi/host/error_conversion.cc index 2b7d73c..f97b121 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; |