| Index: components/navigation_interception/intercept_navigation_resource_throttle.cc
|
| diff --git a/components/navigation_interception/intercept_navigation_resource_throttle.cc b/components/navigation_interception/intercept_navigation_resource_throttle.cc
|
| index f8f094e51a2513d2e099cd12de80b4e36381d12b..8729d2ceeb9d86aef105ba26779071276d2fa358 100644
|
| --- a/components/navigation_interception/intercept_navigation_resource_throttle.cc
|
| +++ b/components/navigation_interception/intercept_navigation_resource_throttle.cc
|
| @@ -92,6 +92,8 @@ std::string InterceptNavigationResourceThrottle::GetMethodAfterRedirect() {
|
| net::HttpResponseHeaders* headers = request_->response_headers();
|
| if (!headers)
|
| return request_->method();
|
| + // TODO(davidben): Plumb net::RedirectInfo through content::ResourceThrottle
|
| + // and unexpose net::URLRequest::ComputeMethodForRedirect.
|
| return net::URLRequest::ComputeMethodForRedirect(
|
| request_->method(), headers->response_code());
|
| }
|
|
|