Home
last modified time | relevance | path

Searched refs:MatchesUrl (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/common/extensions/
Duser_script_unittest.cc23 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 …]
Durl_pattern_unittest.cc94 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 …]
Dfile_browser_handler.cc27 if (pattern->MatchesUrl(url)) in MatchesURL()
Dextension_extent.cc40 if (pattern->MatchesUrl(url)) in ContainsURL()
Duser_script.cc16 if (pattern->MatchesUrl(url)) in UrlMatchesPatterns()
74 bool UserScript::MatchesUrl(const GURL& url) const { in MatchesUrl() function in UserScript
Durl_pattern.h185 bool MatchesUrl(const GURL& url) const;
Duser_script.h174 bool MatchesUrl(const GURL& url) const;
Durl_pattern.cc218 bool URLPattern::MatchesUrl(const GURL &test) const { in MatchesUrl() function in URLPattern
Dextension.cc2719 if (host->MatchesUrl(url)) in HasHostPermission()
2801 return script->MatchesUrl(page_url); in CanExecuteScriptOnPage()
2806 if (host_permissions_[i].MatchesUrl(page_url)) in CanExecuteScriptOnPage()
/external/chromium/chrome/browser/extensions/
Duser_script_listener.cc53 if ((*it).MatchesUrl(request->url())) { in ShouldDelayRequest()