Searched refs:MatchesUrl (Results 1 – 10 of 10) sorted by relevance
23 EXPECT_TRUE(script.MatchesUrl(GURL("http://mail.google.com"))); in TEST()24 EXPECT_TRUE(script.MatchesUrl(GURL("http://mail.google.com/foo"))); in TEST()25 EXPECT_TRUE(script.MatchesUrl(GURL("https://mail.google.com/foo"))); in TEST()26 EXPECT_TRUE(script.MatchesUrl(GURL("ftp://mail.google.com/foo"))); in TEST()27 EXPECT_TRUE(script.MatchesUrl(GURL("http://woo.mail.google.com/foo"))); in TEST()28 EXPECT_TRUE(script.MatchesUrl(GURL("http://mail.yahoo.com/bar"))); in TEST()29 EXPECT_TRUE(script.MatchesUrl(GURL("http://mail.msn.com/baz"))); in TEST()30 EXPECT_FALSE(script.MatchesUrl(GURL("http://www.hotmail.com"))); in TEST()33 EXPECT_TRUE(script.MatchesUrl(GURL("http://mail.google.com"))); in TEST()34 EXPECT_FALSE(script.MatchesUrl(GURL("http://mail.google.com/foo"))); in TEST()[all …]
94 EXPECT_TRUE(pattern.MatchesUrl(GURL("http://google.com"))); in TEST()95 EXPECT_TRUE(pattern.MatchesUrl(GURL("http://yahoo.com"))); in TEST()96 EXPECT_TRUE(pattern.MatchesUrl(GURL("http://google.com/foo"))); in TEST()97 EXPECT_FALSE(pattern.MatchesUrl(GURL("https://google.com"))); in TEST()98 EXPECT_TRUE(pattern.MatchesUrl(GURL("http://74.125.127.100/search"))); in TEST()111 EXPECT_TRUE(pattern.MatchesUrl(GURL("https://www.google.com/foo"))); in TEST()112 EXPECT_TRUE(pattern.MatchesUrl(GURL("https://www.google.com/foobar"))); in TEST()113 EXPECT_FALSE(pattern.MatchesUrl(GURL("http://www.google.com/foo"))); in TEST()114 EXPECT_FALSE(pattern.MatchesUrl(GURL("https://www.google.com/"))); in TEST()128 EXPECT_TRUE(pattern.MatchesUrl(GURL("http://google.com/foobar"))); in TEST()[all …]
27 if (pattern->MatchesUrl(url)) in MatchesURL()
40 if (pattern->MatchesUrl(url)) in ContainsURL()
16 if (pattern->MatchesUrl(url)) in UrlMatchesPatterns()74 bool UserScript::MatchesUrl(const GURL& url) const { in MatchesUrl() function in UserScript
185 bool MatchesUrl(const GURL& url) const;
174 bool MatchesUrl(const GURL& url) const;
218 bool URLPattern::MatchesUrl(const GURL &test) const { in MatchesUrl() function in URLPattern
2719 if (host->MatchesUrl(url)) in HasHostPermission()2801 return script->MatchesUrl(page_url); in CanExecuteScriptOnPage()2806 if (host_permissions_[i].MatchesUrl(page_url)) in CanExecuteScriptOnPage()
53 if ((*it).MatchesUrl(request->url())) { in ShouldDelayRequest()