Searched refs:StaticCookiePolicy (Results 1 – 6 of 6) sorted by relevance
14 int StaticCookiePolicy::CanGetCookies( in CanGetCookies()18 case StaticCookiePolicy::ALLOW_ALL_COOKIES: in CanGetCookies()19 case StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES: in CanGetCookies()21 case StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES: in CanGetCookies()26 case StaticCookiePolicy::BLOCK_ALL_COOKIES: in CanGetCookies()34 int StaticCookiePolicy::CanSetCookie(const GURL& url, in CanSetCookie()38 case StaticCookiePolicy::ALLOW_ALL_COOKIES: in CanSetCookie()40 case StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES: in CanSetCookie()41 case StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES: in CanSetCookie()46 case StaticCookiePolicy::BLOCK_ALL_COOKIES: in CanSetCookie()
24 class StaticCookiePolicy : public CookiePolicy {39 StaticCookiePolicy() in StaticCookiePolicy() function40 : type_(StaticCookiePolicy::ALLOW_ALL_COOKIES) { in StaticCookiePolicy()43 explicit StaticCookiePolicy(Type type) in StaticCookiePolicy() function68 DISALLOW_COPY_AND_ASSIGN(StaticCookiePolicy);
20 void SetPolicyType(StaticCookiePolicy::Type type) { in SetPolicyType()30 StaticCookiePolicy policy_;52 SetPolicyType(StaticCookiePolicy::ALLOW_ALL_COOKIES); in TEST_F()68 SetPolicyType(StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES); in TEST_F()84 SetPolicyType(StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES); in TEST_F()100 SetPolicyType(StaticCookiePolicy::BLOCK_ALL_COOKIES); in TEST_F()
31 net::StaticCookiePolicy policy(strict_third_party_blocking_ ? in CanGetCookies()32 net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES : in CanGetCookies()33 net::StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES); in CanGetCookies()53 net::StaticCookiePolicy policy(strict_third_party_blocking_ ? in CanSetCookie()54 net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES : in CanSetCookie()55 net::StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES); in CanSetCookie()
122 net::StaticCookiePolicy::ALLOW_ALL_COOKIES); in RegisterUserPrefs()471 (cookie_behavior == net::StaticCookiePolicy::BLOCK_ALL_COOKIES) ? in MigrateObsoleteCookiePref()476 net::StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES); in MigrateObsoleteCookiePref()
501 net::StaticCookiePolicy::BLOCK_ALL_COOKIES); in TEST_F()