Commit 621a1da9 authored by David Vallet's avatar David Vallet Committed by Commit Bot

Ensure that request ids from redirects get a different id

Bug: 
Change-Id: I95354a0bdb4e700ec2fc9e8a2d8d079e5f153ab2
Reviewed-on: https://chromium-review.googlesource.com/662081
Commit-Queue: David Vallet <dvallet@chromium.org>
Commit-Queue: Alex Clarke <alexclarke@chromium.org>
Reviewed-by: default avatarDavid Vallet <dvallet@chromium.org>
Reviewed-by: default avatarAlex Clarke <alexclarke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501224}
parent 9f173b37
......@@ -189,7 +189,8 @@ void GenericURLRequestJob::GetLoadTimingInfo(
}
uint64_t GenericURLRequestJob::GenericURLRequestJob::GetRequestId() const {
return request_->identifier();
return request_->identifier() +
(static_cast<uint64_t>(request_->url_chain().size()) << 32);
}
const net::URLRequest* GenericURLRequestJob::GetURLRequest() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment