Update privacy_sandbox_settings.cc

This commit is contained in:
Alexander David Frick 2022-08-02 06:56:59 -05:00 committed by GitHub
parent 5bbe2bd984
commit 1b44a10cac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {