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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool NetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabled() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
bool NetworkDelegate::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
|
bool NetworkDelegate::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
|
||||||
const net::URLRequest& request,
|
const net::URLRequest& request,
|
||||||
const GURL& target_url,
|
const GURL& target_url,
|
||||||
|
|
|
@ -62,6 +62,7 @@ class NetworkDelegate : public net::NetworkDelegate {
|
||||||
bool OnCanEnablePrivacyMode(
|
bool OnCanEnablePrivacyMode(
|
||||||
const GURL& url,
|
const GURL& url,
|
||||||
const GURL& first_party_for_cookies) const override;
|
const GURL& first_party_for_cookies) const override;
|
||||||
|
bool OnFirstPartyOnlyCookieExperimentEnabled() const override;
|
||||||
bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
|
bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
|
||||||
const net::URLRequest& request,
|
const net::URLRequest& request,
|
||||||
const GURL& target_url,
|
const GURL& target_url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue