Home
last modified time | relevance | path

Searched refs:other_parts (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/components/content_settings/core/common/
Dcontent_settings_pattern.cc595 const ContentSettingsPattern::PatternParts& other_parts) { in CompareScheme() argument
596 if (parts.is_scheme_wildcard && !other_parts.is_scheme_wildcard) in CompareScheme()
598 if (!parts.is_scheme_wildcard && other_parts.is_scheme_wildcard) in CompareScheme()
601 int result = parts.scheme.compare(other_parts.scheme); in CompareScheme()
612 const ContentSettingsPattern::PatternParts& other_parts) { in CompareHost() argument
613 if (!parts.has_domain_wildcard && !other_parts.has_domain_wildcard) { in CompareHost()
615 int result = CompareDomainNames(parts.host, other_parts.host); in CompareHost()
621 } else if (parts.has_domain_wildcard && !other_parts.has_domain_wildcard) { in CompareHost()
642 if (IsSubDomainOrEqual(other_parts.host, parts.host)) { in CompareHost()
645 if (CompareDomainNames(parts.host, other_parts.host) < 0) in CompareHost()
[all …]
Dcontent_settings_pattern.h197 const ContentSettingsPattern::PatternParts& other_parts);
201 const ContentSettingsPattern::PatternParts& other_parts);
205 const ContentSettingsPattern::PatternParts& other_parts);