Home | History | Annotate | Download | only in common

Lines Matching refs:URLPattern

13 // A pattern that can be used to match URLs. A URLPattern is a very restricted
43 class URLPattern {
81 explicit URLPattern(int valid_schemes);
83 // Convenience to construct a URLPattern from a string. If the string is not
85 URLPattern(int valid_schemes, const std::string& pattern);
87 URLPattern();
88 ~URLPattern();
90 bool operator<(const URLPattern& other) const;
91 bool operator==(const URLPattern& other) const;
94 // URLPattern::PARSE_SUCCESS on success, or an error code otherwise. On
162 bool OverlapsWith(const URLPattern& other) const;
166 bool Contains(const URLPattern& other) const;
168 // Converts this URLPattern into an equivalent set of URLPatterns that don't
169 // use a wildcard in the scheme component. If this URLPattern doesn't use a
172 std::vector<URLPattern> ConvertToExplicitSchemes() const;
174 static bool EffectiveHostCompare(const URLPattern& a, const URLPattern& b) {
183 bool operator()(const URLPattern& a, const URLPattern& b) const {
189 static const char* GetParseResultString(URLPattern::ParseResult parse_result);
206 // If the URLPattern contains a wildcard scheme, returns a list of
239 // A string representing this URLPattern.
243 typedef std::vector<URLPattern> URLPatternList;