Lines Matching defs:URLPattern
14 const char URLPattern::kAllUrlsPattern[] = "<all_urls>";
31 URLPattern::SCHEME_HTTP,
32 URLPattern::SCHEME_HTTPS,
33 URLPattern::SCHEME_FILE,
34 URLPattern::SCHEME_FTP,
35 URLPattern::SCHEME_CHROMEUI,
36 URLPattern::SCHEME_FILESYSTEM,
52 // Message explaining each URLPattern::ParseResult.
64 COMPILE_ASSERT(URLPattern::NUM_PARSE_RESULTS == arraysize(kParseResultMessages),
80 URLPattern::URLPattern()
85 URLPattern::URLPattern(int valid_schemes)
89 URLPattern::URLPattern(int valid_schemes, const std::string& pattern)
96 NOTREACHED() << "URLPattern is invalid: " << pattern;
99 URLPattern::~URLPattern() {
102 URLPattern::ParseResult URLPattern::Parse(const std::string& pattern,
189 bool URLPattern::SetScheme(const std::string& scheme) {
199 bool URLPattern::IsValidScheme(const std::string& scheme) const {
211 void URLPattern::SetPath(const std::string& path) {
218 bool URLPattern::MatchesUrl(const GURL &test) const {
234 bool URLPattern::MatchesScheme(const std::string& test) const {
241 bool URLPattern::MatchesHost(const std::string& host) const {
249 bool URLPattern::MatchesHost(const GURL& test) const {
280 bool URLPattern::MatchesPath(const std::string& test) const {
287 std::string URLPattern::GetAsString() const {
313 bool URLPattern::OverlapsWith(const URLPattern& other) const {
335 std::vector<URLPattern> URLPattern::ConvertToExplicitSchemes() const {
336 std::vector<URLPattern> result;
345 URLPattern temp = *this;
356 const char* URLPattern::GetParseResultString(
357 URLPattern::ParseResult parse_result) {