Home
last modified time | relevance | path

Searched refs:cookie_domain (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/cookies/
Dcookie_util.cc55 std::string cookie_domain(CanonicalizeHost(domain_string, &ignored)); in GetCookieDomainWithString() local
56 if (cookie_domain.empty()) in GetCookieDomainWithString()
58 if (cookie_domain[0] != '.') in GetCookieDomainWithString()
59 cookie_domain = "." + cookie_domain; in GetCookieDomainWithString()
68 GetEffectiveDomain(url_scheme, cookie_domain)); in GetCookieDomainWithString()
75 const bool is_suffix = (url_host.length() < cookie_domain.length()) ? in GetCookieDomainWithString()
76 (cookie_domain != ("." + url_host)) : in GetCookieDomainWithString()
77 (url_host.compare(url_host.length() - cookie_domain.length(), in GetCookieDomainWithString()
78 cookie_domain.length(), cookie_domain) != 0); in GetCookieDomainWithString()
82 *result = cookie_domain; in GetCookieDomainWithString()
Dcanonical_cookie.cc145 std::string cookie_domain; in CanonicalCookie() local
152 &cookie_domain); in CanonicalCookie()
155 domain_ = cookie_domain; in CanonicalCookie()
227 std::string cookie_domain; in Create() local
228 if (!GetCookieDomain(url, parsed_cookie, &cookie_domain)) { in Create()
242 cookie_domain, cookie_path, creation_time, in Create()
271 std::string cookie_domain; in Create() local
273 &cookie_domain)) { in Create()
294 return new CanonicalCookie(url, parsed_name, parsed_value, cookie_domain, in Create()
Dcanonical_cookie_unittest.cc181 std::string cookie_domain = ".www.example.com"; in TEST() local
191 new CanonicalCookie(url, cookie_name, cookie_value, cookie_domain, in TEST()
199 new CanonicalCookie(url, cookie_name, cookie_value, cookie_domain, in TEST()
207 other_cookie.reset(new CanonicalCookie(url, cookie_name, "2", cookie_domain, in TEST()
216 other_cookie.reset(new CanonicalCookie(url, cookie_name, "2", cookie_domain, in TEST()
224 cookie_domain, cookie_path, in TEST()
232 other_cookie.reset(new CanonicalCookie(url, "B", cookie_value, cookie_domain, in TEST()
256 cookie_domain, "/test/0", in TEST()
Dcookie_monster.cc2154 const std::string& cookie_domain(its_cookies.first->second->Domain()); in RecordPeriodicStats() local
2155 domain_map[cookie_domain]++; in RecordPeriodicStats()
/external/chromium_org/chrome/browser/content_settings/
Dlocal_shared_objects_container.cc102 std::string cookie_domain = cookie->Domain(); in GetObjectCountForDomain() local
103 if (cookie_domain[0] == '.') in GetObjectCountForDomain()
104 cookie_domain = cookie_domain.substr(1); in GetObjectCountForDomain()
109 url::kStandardSchemeSeparator + cookie_domain); in GetObjectCountForDomain()
/external/chromium_org/chrome/browser/extensions/api/cookies/
Dcookies_api.cc181 GURL cookie_domain = in CookieChanged() local
186 cookie_domain); in CookieChanged()
192 GURL& cookie_domain) { in DispatchEvent() argument
198 event->event_url = cookie_domain; in DispatchEvent()
Dcookies_api.h53 GURL& cookie_domain);
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_cookie_helper_unittest.cc443 std::string cookie_domain(".www.google.com"); in TEST_F() local
498 cookie_pair4 + "; Domain=" + cookie_domain, in TEST_F()