Searched refs:SchemeMatchingResult (Results 1 – 6 of 6) sorted by relevance
51 SchemeMatchingResult SourceAllowScheme(const mojom::CSPSourcePtr& source, in SourceAllowScheme()57 return SchemeMatchingResult::NotMatching; in SourceAllowScheme()64 return SchemeMatchingResult::MatchingExact; in SourceAllowScheme()70 return SchemeMatchingResult::MatchingUpgrade; in SourceAllowScheme()72 return SchemeMatchingResult::NotMatching; in SourceAllowScheme()149 bool requiresUpgrade(const SchemeMatchingResult result) { in requiresUpgrade()150 return result == SchemeMatchingResult::MatchingUpgrade; in requiresUpgrade()158 bool canUpgrade(const SchemeMatchingResult result) { in canUpgrade()159 return result == SchemeMatchingResult::MatchingUpgrade; in canUpgrade()170 SchemeMatchingResult::NotMatching; in CheckCSPSource()[all …]
50 return SchemeMatchingResult::MatchingExact; in MatchScheme()53 return SchemeMatchingResult::MatchingUpgrade; in MatchScheme()55 return SchemeMatchingResult::NotMatching; in MatchScheme()64 return SchemeMatchingResult::NotMatching; in SourceAllowScheme()168 bool requiresUpgrade(const SchemeMatchingResult result) { in requiresUpgrade()169 return result == SchemeMatchingResult::MatchingUpgrade; in requiresUpgrade()177 bool canUpgrade(const SchemeMatchingResult result) { in canUpgrade()193 SchemeMatchingResult::NotMatching; in CheckCSPSource()216 SchemeMatchingResult::NotMatching) { in CSPSourcesIntersect()219 SchemeMatchingResult::NotMatching) { in CSPSourcesIntersect()[all …]
44 SchemeMatchingResult schemes_match = SchemeMatches(url.Protocol()); in Matches()45 if (schemes_match == SchemeMatchingResult::kNotMatching) in Matches()69 SchemeMatchingResult schemes_match = SchemeMatches(url.Protocol()); in MatchesAsSelf()74 if (schemes_match == SchemeMatchingResult::kMatchingExact && hosts_match && in MatchesAsSelf()98 CSPSource::SchemeMatchingResult CSPSource::SchemeMatches( in SchemeMatches()105 return SchemeMatchingResult::kMatchingExact; in SchemeMatches()109 return SchemeMatchingResult::kMatchingUpgrade; in SchemeMatches()112 return SchemeMatchingResult::kNotMatching; in SchemeMatches()193 if (SchemeMatches(other->scheme_) == SchemeMatchingResult::kNotMatching) in Subsumes()217 other->SchemeMatches(scheme_) != SchemeMatchingResult::kNotMatching; in IsSimilar()[all …]
34 enum class SchemeMatchingResult { enum84 SchemeMatchingResult SchemeMatches(const String&) const;95 bool inline RequiresUpgrade(const SchemeMatchingResult result) const { in RequiresUpgrade()96 return result == SchemeMatchingResult::kMatchingUpgrade; in RequiresUpgrade()104 bool inline CanUpgrade(const SchemeMatchingResult result) const { in CanUpgrade()105 return result == SchemeMatchingResult::kMatchingUpgrade; in CanUpgrade()
46 SchemeMatchingResult schemes_match = SchemeMatches(url.Protocol()); in Matches()47 if (schemes_match == SchemeMatchingResult::kNotMatching) in Matches()72 SchemeMatchingResult schemes_match = SchemeMatches(url.Protocol()); in MatchesAsSelf()78 if (schemes_match == SchemeMatchingResult::kMatchingExact && hosts_match && in MatchesAsSelf()103 CSPSource::SchemeMatchingResult CSPSource::SchemeMatches( in SchemeMatches()110 return SchemeMatchingResult::kMatchingExact; in SchemeMatches()114 return SchemeMatchingResult::kMatchingUpgrade; in SchemeMatches()117 return SchemeMatchingResult::kNotMatching; in SchemeMatches()201 if (SchemeMatches(other->scheme_) == SchemeMatchingResult::kNotMatching) in Subsumes()227 other->SchemeMatches(scheme_) != SchemeMatchingResult::kNotMatching; in IsSimilar()[all …]
37 enum class SchemeMatchingResult { enum87 SchemeMatchingResult SchemeMatches(const String&) const;98 bool inline RequiresUpgrade(const SchemeMatchingResult result) const { in RequiresUpgrade()99 return result == SchemeMatchingResult::kMatchingUpgrade; in RequiresUpgrade()107 bool inline CanUpgrade(const SchemeMatchingResult result) const { in CanUpgrade()108 return result == SchemeMatchingResult::kMatchingUpgrade; in CanUpgrade()