Home
last modified time | relevance | path

Searched refs:StaticCookiePolicy (Results 1 – 6 of 6) sorted by relevance

/external/chromium/net/base/
Dstatic_cookie_policy.cc14 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()
Dstatic_cookie_policy.h24 class StaticCookiePolicy : public CookiePolicy {
39 StaticCookiePolicy() in StaticCookiePolicy() function
40 : type_(StaticCookiePolicy::ALLOW_ALL_COOKIES) { in StaticCookiePolicy()
43 explicit StaticCookiePolicy(Type type) in StaticCookiePolicy() function
68 DISALLOW_COPY_AND_ASSIGN(StaticCookiePolicy);
Dstatic_cookie_policy_unittest.cc20 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()
/external/chromium/chrome/browser/net/
Dchrome_cookie_policy.cc31 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()
/external/chromium/chrome/browser/content_settings/
Dhost_content_settings_map.cc122 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()
Dhost_content_settings_map_unittest.cc501 net::StaticCookiePolicy::BLOCK_ALL_COOKIES); in TEST_F()