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

Unified Diff: net/url_request/url_request_test_util.h

Issue 1392853006: Rename NetworkDelegate first-party-only flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename to Are<blah> Created 5 years, 2 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/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_test_util.h
diff --git a/net/url_request/url_request_test_util.h b/net/url_request/url_request_test_util.h
index 09d44df254d0d5d50531537b16deac77e6aa7755..74987d65d1865e55984141ab1ebf58300428b11f 100644
--- a/net/url_request/url_request_test_util.h
+++ b/net/url_request/url_request_test_util.h
@@ -273,8 +273,8 @@ class TestNetworkDelegate : public NetworkDelegateImpl {
void set_can_access_files(bool val) { can_access_files_ = val; }
bool can_access_files() const { return can_access_files_; }
- void set_first_party_only_cookies_enabled(bool val) {
- first_party_only_cookies_enabled_ = val;
+ void set_experimental_cookie_features_enabled(bool val) {
+ experimental_cookie_features_enabled_ = val;
}
void set_cancel_request_with_policy_violating_referrer(bool val) {
@@ -340,7 +340,7 @@ class TestNetworkDelegate : public NetworkDelegateImpl {
CookieOptions* options) override;
bool OnCanAccessFile(const URLRequest& request,
const base::FilePath& path) const override;
- bool OnFirstPartyOnlyCookieExperimentEnabled() const override;
+ bool OnAreExperimentalCookieFeaturesEnabled() const override;
bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
const URLRequest& request,
const GURL& target_url,
@@ -387,7 +387,7 @@ class TestNetworkDelegate : public NetworkDelegateImpl {
bool has_load_timing_info_before_auth_;
bool can_access_files_; // true by default
- bool first_party_only_cookies_enabled_; // false by default
+ bool experimental_cookie_features_enabled_; // false by default
bool cancel_request_with_policy_violating_referrer_; // false by default
bool will_be_intercepted_on_next_error_;
};
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698