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

Unified Diff: components/test_runner/test_runner.h

Issue 2125523003: Rename setAlwaysAcceptCookies to setBlockThirdPartyCookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | components/test_runner/test_runner.cc » ('j') | components/test_runner/test_runner.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 13a0baae8bf044471b3a72d3debd028e05e3a794..d9e1a1ca68f3e8bc5039f37644a854a61efe9bac 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -493,8 +493,10 @@ class TestRunner : public WebTestRunner {
// Sets the default quota for all origins
void SetDatabaseQuota(int quota);
- // Changes the cookie policy from the default to allow all cookies.
- void SetAlwaysAcceptCookies(bool accept);
+ // Sets the cookie policy to:
+ // - allow all cookies when |block| is false
+ // - block only third-party cookies when |block| is true
+ void SetBlockThirdPartyCookies(bool block);
// Converts a URL starting with file:///tmp/ to the local mapping.
std::string PathToLocalResource(const std::string& path);
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | components/test_runner/test_runner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698