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

Unified Diff: net/base/network_delegate.cc

Issue 940373002: First-Party Cookies: Wire it up as an experimental web platform feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@first-party
Patch Set: Feedback. Created 5 years, 10 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
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index b6858da65bdccb89fdee94907b5861bfada2e33b..1f59d03a6411e0f71665bb8442ee53a3c5ae8beb 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -229,6 +229,10 @@ bool NetworkDelegate::CanEnablePrivacyMode(
return OnCanEnablePrivacyMode(url, first_party_for_cookies);
}
+bool NetworkDelegate::FirstPartyOnlyCookieExperimentEnabled() const {
+ return OnFirstPartyOnlyCookieExperimentEnabled();
+}
+
bool NetworkDelegate::CancelURLRequestWithPolicyViolatingReferrerHeader(
const URLRequest& request,
const GURL& target_url,

Powered by Google App Engine
This is Rietveld 408576698