Update privacy_sandbox_settings.cc
This commit is contained in:
parent
5bbe2bd984
commit
1b44a10cac
1 changed files with 3 additions and 2 deletions
|
@ -420,8 +420,9 @@ bool PrivacySandboxSettings::IsPrivacySandboxEnabledForContext(
|
|||
|
||||
// Third party cookies must also be available for this context. An empty site
|
||||
// for cookies is provided so the context is always treated as a third party.
|
||||
return cookie_settings_->IsFullCookieAccessAllowed(url, net::SiteForCookies(),
|
||||
top_frame_origin);
|
||||
return cookie_settings_->IsFullCookieAccessAllowed(
|
||||
url, net::SiteForCookies(), top_frame_origin,
|
||||
content_settings::CookieSettings::QueryReason::kPrivacySandbox);
|
||||
}
|
||||
|
||||
void PrivacySandboxSettings::SetTopicsDataAccessibleFromNow() const {
|
||||
|
|
Loading…
Reference in a new issue