| Index: net/base/network_delegate.h
|
| diff --git a/net/base/network_delegate.h b/net/base/network_delegate.h
|
| index 5af2ac140efa5b6f5e0d4fe897d413f7fb31bdde..9ea82028b11fc8dd6025577c9b84406f81d0d141 100644
|
| --- a/net/base/network_delegate.h
|
| +++ b/net/base/network_delegate.h
|
| @@ -104,6 +104,10 @@
|
| bool CanEnablePrivacyMode(const GURL& url,
|
| const GURL& first_party_for_cookies) const;
|
|
|
| + // TODO(mkwst): Remove this once we decide whether or not we wish to ship
|
| + // first-party cookies. https://crbug.com/459154
|
| + bool FirstPartyOnlyCookieExperimentEnabled() const;
|
| +
|
| bool CancelURLRequestWithPolicyViolatingReferrerHeader(
|
| const URLRequest& request,
|
| const GURL& target_url,
|
| @@ -266,6 +270,13 @@
|
| const GURL& url,
|
| const GURL& first_party_for_cookies) const = 0;
|
|
|
| + // Returns true if the embedder has enabled the "first-party" cookie
|
| + // experiment, and false otherwise.
|
| + //
|
| + // TODO(mkwst): Remove this once we decide whether or not we wish to ship
|
| + // first-party cookies. https://crbug.com/459154
|
| + virtual bool OnFirstPartyOnlyCookieExperimentEnabled() const = 0;
|
| +
|
| // Called when the |referrer_url| for requesting |target_url| during handling
|
| // of the |request| is does not comply with the referrer policy (e.g. a
|
| // secure referrer for an insecure initial target).
|
|
|