Lines Matching refs:domain
139 // The RFC says the sort order for the domain attribute is undefined.
164 // Two cookies are considered equivalent if they have the same domain,
169 const std::string& domain,
171 : name(name), domain(domain), path(path) {
179 // Name compare dominates, then domain, then path.
184 diff = domain.compare(cs.domain);
192 std::string domain;
196 // Determine the cookie domain to use for setting the specified cookie.
202 domain_string = pc.Domain();
414 const std::string& domain,
425 domain_(domain),
887 const std::string& domain,
895 new SetCookieWithDetailsTask(this, url, name, value, domain, path,
1043 // If cookies for the requested domain key (eTLD+1) have been loaded from DB
1046 // Checks if the domain key has been loaded.
1069 const std::string& domain,
1084 cc.reset(CanonicalCookie::Create(url, name, value, domain, path,
1215 // domain cookies are stored with a leading ".". So this is a pretty
1247 for (CookieMapItPair its = cookies_.equal_range(GetKey(cookie.Domain()));
1338 // Get the cookies for this host and its domain(s).
1485 InternalInsertCookie(GetKey((*it)->Domain()), *it, false);
1493 "{name='%s', domain='%s', path='%s'}",
1495 (*it)->Domain().c_str(),
1576 CookieSignature signature(cookie->Name(), cookie->Domain(),
1616 "with {name='%s', domain='%s', path='%s'}",
1620 signature.domain.c_str(),
1779 const std::string key(GetKey((*cc)->Domain()));
1865 // Domain expiry behavior is unchanged by key/expiry scheme (the
1883 VLOG(kVlogGarbageCollection) << "Deep Garbage Collect domain.";
1904 // Purge domain cookies in 3 rounds.
2051 std::string CookieMonster::GetKey(const std::string& domain) const {
2054 domain, registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES));
2056 effective_domain = domain;
2122 const std::string& cookie_domain(its_cookies.first->second->Domain());