Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1087)

Unified Diff: net/base/network_delegate.h

Issue 1032063002: Enable 'First-Party-Only' cookies by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Friend. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/layered_network_delegate.cc ('k') | net/base/network_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.h
diff --git a/net/base/network_delegate.h b/net/base/network_delegate.h
index 9ea82028b11fc8dd6025577c9b84406f81d0d141..5af2ac140efa5b6f5e0d4fe897d413f7fb31bdde 100644
--- a/net/base/network_delegate.h
+++ b/net/base/network_delegate.h
@@ -104,10 +104,6 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
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,
@@ -270,13 +266,6 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
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).
« no previous file with comments | « net/base/layered_network_delegate.cc ('k') | net/base/network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698