Increase scope of URLLoader::FollowRedirect() API implementation.
https://chromium-review.googlesource.com/c/chromium/src/+/1369856
This commit is contained in:
parent
547add94d0
commit
3898a44e88
1 changed files with 2 additions and 2 deletions
|
@ -267,8 +267,8 @@ void AtomURLRequest::DoCancel() {
|
||||||
void AtomURLRequest::DoFollowRedirect() {
|
void AtomURLRequest::DoFollowRedirect() {
|
||||||
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
|
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
|
||||||
if (request_ && request_->is_redirecting() && redirect_policy_ == "manual") {
|
if (request_ && request_->is_redirecting() && redirect_policy_ == "manual") {
|
||||||
request_->FollowDeferredRedirect(
|
request_->FollowDeferredRedirect(base::nullopt /* removed_headers */,
|
||||||
base::nullopt /* modified_request_headers */);
|
base::nullopt /* modified_headers */);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue