Home
last modified time | relevance | path

Searched refs:SchemeMatchingResult (Results 1 – 6 of 6) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/public/cpp/content_security_policy/
H A Dcsp_source.cc51 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 …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/public/cpp/content_security_policy/
H A Dcsp_source.cc50 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 …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/frame/csp/
H A Dcsp_source.cc44 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 …]
H A Dcsp_source.h34 enum class SchemeMatchingResult { enum
84 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/frame/csp/
H A Dcsp_source.cc46 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 …]
H A Dcsp_source.h37 enum class SchemeMatchingResult { enum
87 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()