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

Unified Diff: chrome/browser/net/chrome_network_delegate.h

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: chrome/browser/net/chrome_network_delegate.h
diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h
index 4635e57422fbc183b935b81887dafb9e515e2fed..bd195c96867bfe79ec4e7e51d3c432bf90d4d54f 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -148,7 +148,7 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
static void AllowAccessToAllFiles();
private:
- friend class ChromeNetworkDelegateTest;
+ friend class ChromeNetworkDelegateThrottlingTest;
// NetworkDelegate implementation.
int OnBeforeURLRequest(net::URLRequest* request,
@@ -188,6 +188,7 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
bool OnCanEnablePrivacyMode(
const GURL& url,
const GURL& first_party_for_cookies) const override;
+ bool OnFirstPartyOnlyCookieExperimentEnabled() const override;
bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
const net::URLRequest& request,
const GURL& target_url,
@@ -230,6 +231,7 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
static bool g_never_throttle_requests_;
scoped_ptr<ClientHints> client_hints_;
+ bool experimental_web_platform_features_enabled_;
bool first_request_;
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | chrome/browser/net/chrome_network_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698