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); |