| 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 d7dcbefabbf2f06121040f756c61a2c45587d524..6e8ef76d81801700f4bfc96371fba21e9f6cbb58 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.cc
|
| +++ b/content/browser/frame_host/navigation_handle_impl.cc
|
| @@ -293,6 +293,19 @@ NavigationHandleImpl::CallWillRedirectRequestForTesting(
|
| return result;
|
| }
|
|
|
| +NavigationThrottle::ThrottleCheckResult
|
| +NavigationHandleImpl::CallWillProcessResponseForTesting(
|
| + content::RenderFrameHost* render_frame_host) {
|
| + NavigationThrottle::ThrottleCheckResult result = NavigationThrottle::DEFER;
|
| + WillProcessResponse(static_cast<RenderFrameHostImpl*>(render_frame_host),
|
| + scoped_refptr<net::HttpResponseHeaders>(),
|
| + base::Bind(&UpdateThrottleCheckResult, &result));
|
| +
|
| + // Reset the callback to ensure it will not be called later.
|
| + complete_callback_.Reset();
|
| + return result;
|
| +}
|
| +
|
| NavigationData* NavigationHandleImpl::GetNavigationData() {
|
| return navigation_data_.get();
|
| }
|
|
|