Searched refs:sub_domain (Results 1 – 1 of 1) sorted by relevance
174 std::string sub_domain(domain); in MatchesDomain() local176 if (!net::CookieMonster::DomainIsHostOnly(sub_domain)) in MatchesDomain()177 sub_domain = sub_domain.substr(1); in MatchesDomain()180 for (sub_domain.insert(0, "."); in MatchesDomain()181 sub_domain.length() >= filter_value.length();) { in MatchesDomain()182 if (sub_domain == filter_value) in MatchesDomain()184 const size_t next_dot = sub_domain.find('.', 1); // Skip over leading dot. in MatchesDomain()185 sub_domain.erase(0, next_dot); in MatchesDomain()