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

Unified Diff: net/base/layered_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/layered_network_delegate.cc
diff --git a/net/base/layered_network_delegate.cc b/net/base/layered_network_delegate.cc
index 95e423623453af1af7d71a3fdf31b6cc6796673b..9fd497397617bc562812a0c1c0e591ffa13986f2 100644
--- a/net/base/layered_network_delegate.cc
+++ b/net/base/layered_network_delegate.cc
@@ -252,6 +252,15 @@ void LayeredNetworkDelegate::OnCanEnablePrivacyModeInternal(
const GURL& first_party_for_cookies) const {
}
+bool LayeredNetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabled() const {
+ OnFirstPartyOnlyCookieExperimentEnabledInternal();
+ return nested_network_delegate_->FirstPartyOnlyCookieExperimentEnabled();
+}
+
+void LayeredNetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabledInternal()
+ const {
+}
+
bool LayeredNetworkDelegate::
OnCancelURLRequestWithPolicyViolatingReferrerHeader(
const URLRequest& request,

Powered by Google App Engine
This is Rietveld 408576698