Index: content/public/browser/navigation_throttle.h |
diff --git a/content/public/browser/navigation_throttle.h b/content/public/browser/navigation_throttle.h |
index 5876343db0decd9bb6933f6243299aa81b825d06..4706111c055b9b22260f1cc951b917d28d74a55c 100644 |
--- a/content/public/browser/navigation_throttle.h |
+++ b/content/public/browser/navigation_throttle.h |
@@ -32,6 +32,12 @@ class CONTENT_EXPORT NavigationThrottle { |
// Cancels the navigation and makes the requester of the navigation acts |
// like the request was never made. |
CANCEL_AND_IGNORE, |
+ |
+ // Blocks a navigation due to rules asserted before the request is made. |
+ // This can only be returned from WillStartRequest. This will result in an |
+ // error page for net::ERR_BLOCKED_BY_CLIENT being loaded in the frame that |
+ // is navigated. |
+ BLOCK_REQUEST, |
}; |
NavigationThrottle(NavigationHandle* navigation_handle); |