Chromium Code Reviews| Index: extensions/browser/extension_protocols.cc |
| diff --git a/extensions/browser/extension_protocols.cc b/extensions/browser/extension_protocols.cc |
| index c97f172607acbc2650537d6895a60a5704da4208..0ae21efbf1cf15bc60b61bc88cce195206b79209 100644 |
| --- a/extensions/browser/extension_protocols.cc |
| +++ b/extensions/browser/extension_protocols.cc |
| @@ -422,8 +422,8 @@ ExtensionProtocolHandler::MaybeCreateJob( |
| // TODO(mpcomplete): better error code. |
| if (!AllowExtensionResourceLoad( |
| request, is_incognito_, extension, extension_info_map_)) { |
| - return new net::URLRequestErrorJob( |
| - request, network_delegate, net::ERR_ADDRESS_UNREACHABLE); |
| + return new net::URLRequestErrorJob(request, network_delegate, |
| + net::ERR_BLOCKED_BY_CLIENT); |
|
nasko
2016/06/03 21:37:03
I've changed this to be consistent with the return
|
| } |
| // If this is a disabled extension only allow the icon to load. |