Home
last modified time | relevance | path

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

/external/chromium_org/net/cookies/
Dcookie_util.cc54 std::string cookie_domain(CanonicalizeHost(domain_string, &ignored)); in GetCookieDomainWithString() local
55 if (cookie_domain.empty()) in GetCookieDomainWithString()
57 if (cookie_domain[0] != '.') in GetCookieDomainWithString()
58 cookie_domain = "." + cookie_domain; in GetCookieDomainWithString()
67 GetEffectiveDomain(url_scheme, cookie_domain)); in GetCookieDomainWithString()
74 const bool is_suffix = (url_host.length() < cookie_domain.length()) ? in GetCookieDomainWithString()
75 (cookie_domain != ("." + url_host)) : in GetCookieDomainWithString()
76 (url_host.compare(url_host.length() - cookie_domain.length(), in GetCookieDomainWithString()
77 cookie_domain.length(), cookie_domain) != 0); in GetCookieDomainWithString()
81 *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.cc95 std::string cookie_domain = cookie->Domain(); in GetObjectCountForDomain() local
96 if (cookie_domain[0] == '.') in GetObjectCountForDomain()
97 cookie_domain = cookie_domain.substr(1); in GetObjectCountForDomain()
102 content::kStandardSchemeSeparator + cookie_domain); in GetObjectCountForDomain()
/external/chromium/net/base/
Dcookie_monster.cc202 std::string cookie_domain(CanonicalizeHost(domain_string, &ignored)); in GetCookieDomainWithString() local
203 if (cookie_domain.empty()) in GetCookieDomainWithString()
205 if (cookie_domain[0] != '.') in GetCookieDomainWithString()
206 cookie_domain = "." + cookie_domain; in GetCookieDomainWithString()
215 GetEffectiveDomain(url_scheme, cookie_domain)); in GetCookieDomainWithString()
222 if ((url_host.length() < cookie_domain.length()) ? in GetCookieDomainWithString()
223 (cookie_domain != ("." + url_host)) : in GetCookieDomainWithString()
224 url_host.compare(url_host.length() - cookie_domain.length(), in GetCookieDomainWithString()
225 cookie_domain.length(), cookie_domain)) in GetCookieDomainWithString()
228 *result = cookie_domain; in GetCookieDomainWithString()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_cookies_api.cc99 GURL cookie_domain = in CookieChanged() local
101 DispatchEvent(profile, keys::kOnChanged, json_args, cookie_domain); in CookieChanged()
107 GURL& cookie_domain) { in DispatchEvent() argument
110 event_name, json_args, profile, cookie_domain); in DispatchEvent()
Dextension_cookies_api.h59 GURL& cookie_domain);
/external/chromium_org/chrome/browser/extensions/api/cookies/
Dcookies_api.cc125 GURL cookie_domain = in CookieChanged() local
130 cookie_domain); in CookieChanged()
137 GURL& cookie_domain) { in DispatchEvent() argument
144 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.cc383 std::string cookie_domain(".www.google.com"); in TEST_F() local
438 cookie_pair4 + "; Domain=" + cookie_domain, in TEST_F()