Update url_request_http_job.cc

This commit is contained in:
Alexander David Frick 2022-09-11 15:39:26 -05:00 committed by GitHub
parent 6bc092169d
commit 1936a65640
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,6 @@
#include "base/metrics/histogram_macros.h" #include "base/metrics/histogram_macros.h"
#include "base/numerics/safe_conversions.h" #include "base/numerics/safe_conversions.h"
#include "base/rand_util.h" #include "base/rand_util.h"
#include "base/stl_util.h"
#include "base/strings/string_util.h" #include "base/strings/string_util.h"
#include "base/strings/stringprintf.h" #include "base/strings/stringprintf.h"
#include "base/task/single_thread_task_runner.h" #include "base/task/single_thread_task_runner.h"
@ -40,6 +39,7 @@
#include "net/base/http_user_agent_settings.h" #include "net/base/http_user_agent_settings.h"
#include "net/base/load_flags.h" #include "net/base/load_flags.h"
#include "net/base/net_errors.h" #include "net/base/net_errors.h"
#include "net/base/network_anonymization_key.h"
#include "net/base/network_delegate.h" #include "net/base/network_delegate.h"
#include "net/base/network_isolation_key.h" #include "net/base/network_isolation_key.h"
#include "net/base/privacy_mode.h" #include "net/base/privacy_mode.h"
@ -55,12 +55,12 @@
#include "net/cookies/cookie_store.h" #include "net/cookies/cookie_store.h"
#include "net/cookies/cookie_util.h" #include "net/cookies/cookie_util.h"
#include "net/cookies/parsed_cookie.h" #include "net/cookies/parsed_cookie.h"
#include "net/cookies/same_party_context.h"
#include "net/filter/brotli_source_stream.h" #include "net/filter/brotli_source_stream.h"
#include "net/filter/filter_source_stream.h" #include "net/filter/filter_source_stream.h"
#include "net/filter/gzip_source_stream.h" #include "net/filter/gzip_source_stream.h"
#include "net/filter/source_stream.h" #include "net/filter/source_stream.h"
#include "net/first_party_sets/first_party_set_metadata.h" #include "net/first_party_sets/first_party_set_metadata.h"
#include "net/first_party_sets/same_party_context.h"
#include "net/http/http_content_disposition.h" #include "net/http/http_content_disposition.h"
#include "net/http/http_log_util.h" #include "net/http/http_log_util.h"
#include "net/http/http_network_session.h" #include "net/http/http_network_session.h"
@ -258,6 +258,8 @@ void URLRequestHttpJob::Start() {
request_info_.network_isolation_key = request_info_.network_isolation_key =
request_->isolation_info().network_isolation_key(); request_->isolation_info().network_isolation_key();
request_info_.network_anonymization_key =
request_->isolation_info().network_anonymization_key();
request_info_.possibly_top_frame_origin = request_info_.possibly_top_frame_origin =
request_->isolation_info().top_frame_origin(); request_->isolation_info().top_frame_origin();
request_info_.is_subframe_document_resource = request_info_.is_subframe_document_resource =