Index: extensions/browser/extension_protocols.cc |
diff --git a/extensions/browser/extension_protocols.cc b/extensions/browser/extension_protocols.cc |
index c97f172607acbc2650537d6895a60a5704da4208..fc06675d7d72ef24a4ebf5f8ab9e1fe8079a70a2 100644 |
--- a/extensions/browser/extension_protocols.cc |
+++ b/extensions/browser/extension_protocols.cc |
@@ -419,11 +419,10 @@ ExtensionProtocolHandler::MaybeCreateJob( |
const Extension* extension = |
extension_info_map_->extensions().GetByID(extension_id); |
- // 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); |
} |
// If this is a disabled extension only allow the icon to load. |