Implement NetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabled
This commit is contained in:
parent
66d49a5241
commit
0f64da9dfc
2 changed files with 5 additions and 0 deletions
|
@ -112,6 +112,10 @@ bool NetworkDelegate::OnCanEnablePrivacyMode(
|
|||
return false;
|
||||
}
|
||||
|
||||
bool NetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabled() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool NetworkDelegate::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
|
||||
const net::URLRequest& request,
|
||||
const GURL& target_url,
|
||||
|
|
|
@ -62,6 +62,7 @@ class NetworkDelegate : public net::NetworkDelegate {
|
|||
bool OnCanEnablePrivacyMode(
|
||||
const GURL& url,
|
||||
const GURL& first_party_for_cookies) const override;
|
||||
bool OnFirstPartyOnlyCookieExperimentEnabled() const override;
|
||||
bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
|
||||
const net::URLRequest& request,
|
||||
const GURL& target_url,
|
||||
|
|
Loading…
Reference in a new issue