chore: bump chromium to 93.0.4539.0 (main) (#29608)

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Samuel Attard <sam@electronjs.org>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
This commit is contained in:
electron-roller[bot] 2021-06-16 15:43:51 -07:00 committed by GitHub
parent f71c6c04fd
commit 85718349cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 231 additions and 163 deletions

View file

@ -698,11 +698,10 @@ void ProxyingURLLoaderFactory::InProgressRequest::
info_->AddResponseInfoFromResourceResponse(*current_response_);
net::CompletionRepeatingCallback copyable_callback =
base::AdaptCallbackForRepeating(std::move(continuation));
auto callback_pair = base::SplitOnceCallback(std::move(continuation));
DCHECK(info_.has_value());
int result = factory_->web_request_api()->OnHeadersReceived(
&info_.value(), request_, copyable_callback,
&info_.value(), request_, std::move(callback_pair.first),
current_response_->headers.get(), &override_headers_, &redirect_url_);
if (result == net::ERR_BLOCKED_BY_CLIENT) {
OnRequestError(network::URLLoaderCompletionStatus(result));
@ -722,7 +721,7 @@ void ProxyingURLLoaderFactory::InProgressRequest::
DCHECK_EQ(net::OK, result);
copyable_callback.Run(net::OK);
std::move(callback_pair.second).Run(net::OK);
}
void ProxyingURLLoaderFactory::InProgressRequest::OnRequestError(