Chromium Code Reviews| Index: content/browser/frame_host/navigation_handle_impl.h |
| diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h |
| index 6f46707108e531ceac132639638d387611e5710f..26ead9b534a9c181b8da848215642939b00cf468 100644 |
| --- a/content/browser/frame_host/navigation_handle_impl.h |
| +++ b/content/browser/frame_host/navigation_handle_impl.h |
| @@ -76,6 +76,8 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
| bool HasCommitted() override; |
| bool IsErrorPage() override; |
| void Resume() override; |
| + void CancelDeferredNavigation( |
| + NavigationThrottle::ThrottleCheckResult result) override; |
| void RegisterThrottleForTesting( |
| scoped_ptr<NavigationThrottle> navigation_throttle) override; |
| NavigationThrottle::ThrottleCheckResult CallWillStartRequestForTesting( |
| @@ -156,6 +158,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
| DEFERRING_START, |
| WILL_REDIRECT_REQUEST, |
| DEFERRING_REDIRECT, |
| + CANCELING, |
| READY_TO_COMMIT, |
| DID_COMMIT, |
| DID_COMMIT_ERROR_PAGE, |
| @@ -167,6 +170,8 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
| NavigationThrottle::ThrottleCheckResult CheckWillStartRequest(); |
| NavigationThrottle::ThrottleCheckResult CheckWillRedirectRequest(); |
| + void RunCompleteCallback(NavigationThrottle::ThrottleCheckResult result); |
|
nasko
2015/11/06 17:31:59
A small blurb about what this method is meant to d
clamy
2015/11/09 13:56:27
Done.
|
| + |
| // Used in tests. |
| State state() const { return state_; } |