| Index: content/browser/loader/navigation_resource_throttle.cc
|
| diff --git a/content/browser/loader/navigation_resource_throttle.cc b/content/browser/loader/navigation_resource_throttle.cc
|
| index 5b79a98c2ee33f2f0303ffff17a4db493c6d71da..efc547f98ba6da097950e35b25c303db18f4da87 100644
|
| --- a/content/browser/loader/navigation_resource_throttle.cc
|
| +++ b/content/browser/loader/navigation_resource_throttle.cc
|
| @@ -254,6 +254,10 @@ void NavigationResourceThrottle::OnUIChecksPerformed(
|
| controller()->CancelAndIgnore();
|
| } else if (result == NavigationThrottle::CANCEL) {
|
| controller()->Cancel();
|
| + } else if (result == NavigationThrottle::BLOCK_RESPONSE) {
|
| + // TODO(mkwst): Replace this with something more specific, as the error
|
| + // page for this code is meant for use with extensions.
|
| + controller()->CancelWithError(net::ERR_BLOCKED_BY_CLIENT);
|
| } else {
|
| controller()->Resume();
|
| }
|
|
|