Index: content/browser/frame_host/navigation_handle_impl.cc |
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc |
index 240eba7416107135f096249c2f9b94954e080c84..7fb0e77d8a2913be65c93a03f4964e5a676d262b 100644 |
--- a/content/browser/frame_host/navigation_handle_impl.cc |
+++ b/content/browser/frame_host/navigation_handle_impl.cc |
@@ -416,6 +416,7 @@ NavigationHandleImpl::CheckWillStartRequest() { |
case NavigationThrottle::CANCEL: |
case NavigationThrottle::CANCEL_AND_IGNORE: |
+ case NavigationThrottle::BLOCK_REQUEST: |
state_ = CANCELING; |
return result; |
@@ -423,9 +424,6 @@ NavigationHandleImpl::CheckWillStartRequest() { |
state_ = DEFERRING_START; |
next_index_ = i + 1; |
return result; |
- |
- default: |
- NOTREACHED(); |
} |
} |
next_index_ = 0; |
@@ -455,7 +453,7 @@ NavigationHandleImpl::CheckWillRedirectRequest() { |
next_index_ = i + 1; |
return result; |
- default: |
+ case NavigationThrottle::BLOCK_REQUEST: |
NOTREACHED(); |
} |
} |
@@ -490,6 +488,9 @@ NavigationHandleImpl::CheckWillProcessResponse() { |
state_ = DEFERRING_RESPONSE; |
next_index_ = i + 1; |
return result; |
+ |
+ case NavigationThrottle::BLOCK_REQUEST: |
+ NOTREACHED(); |
} |
} |
next_index_ = 0; |