mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update url_request_http_job.cc
This commit is contained in:
parent
69c21ae803
commit
6562817c11
1 changed files with 4 additions and 2 deletions
|
@ -741,8 +741,10 @@ void URLRequestHttpJob::SaveCookiesAndNotifyHeadersComplete(int result) {
|
|||
request_->url(), request_->site_for_cookies())) {
|
||||
force_ignore_site_for_cookies = true;
|
||||
}
|
||||
bool is_main_frame_navigation = IsolationInfo::RequestType::kMainFrame ==
|
||||
request_->isolation_info().request_type();
|
||||
bool is_main_frame_navigation =
|
||||
IsolationInfo::RequestType::kMainFrame ==
|
||||
request_->isolation_info().request_type() ||
|
||||
request_->force_main_frame_for_same_site_cookies();
|
||||
CookieOptions::SameSiteCookieContext same_site_context =
|
||||
net::cookie_util::ComputeSameSiteContextForResponse(
|
||||
request_->url_chain(), request_->site_for_cookies(),
|
||||
|
|
Loading…
Reference in a new issue