HomeSort by relevance Sort by last modified time
    Searched refs:MatchesURL (Results 1 - 25 of 45) sorted by null

1 2

  /external/chromium_org/extensions/common/
user_script_unittest.cc 26 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com")));
27 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com/foo")));
28 EXPECT_TRUE(script.MatchesURL(GURL("https://mail.google.com/foo")));
29 EXPECT_TRUE(script.MatchesURL(GURL("ftp://mail.google.com/foo")));
30 EXPECT_TRUE(script.MatchesURL(GURL("http://woo.mail.google.com/foo")));
31 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.yahoo.com/bar")));
32 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.msn.com/baz")));
33 EXPECT_FALSE(script.MatchesURL(GURL("http://www.hotmail.com")));
36 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com")));
37 EXPECT_FALSE(script.MatchesURL(GURL("http://mail.google.com/foo")))
    [all...]
url_pattern_unittest.cc 104 EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com")));
105 EXPECT_TRUE(pattern.MatchesURL(GURL("http://yahoo.com")));
106 EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com/foo")));
107 EXPECT_FALSE(pattern.MatchesURL(GURL("https://google.com")));
108 EXPECT_TRUE(pattern.MatchesURL(GURL("http://74.125.127.100/search")));
120 EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foo")));
121 EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foobar")));
122 EXPECT_FALSE(pattern.MatchesURL(GURL("http://www.google.com/foo")));
123 EXPECT_FALSE(pattern.MatchesURL(GURL("https://www.google.com/")));
124 EXPECT_TRUE(pattern.MatchesURL(
    [all...]
url_pattern_set_unittest.cc 38 EXPECT_FALSE(set.MatchesURL(GURL("http://www.foo.com/bar")));
39 EXPECT_FALSE(set.MatchesURL(GURL()));
40 EXPECT_FALSE(set.MatchesURL(GURL("invalid")));
47 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/")));
48 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey")));
49 EXPECT_FALSE(set.MatchesURL(GURL("https://www.google.com/")));
50 EXPECT_FALSE(set.MatchesURL(GURL("https://www.microsoft.com/")));
58 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey")));
59 EXPECT_TRUE(set.MatchesURL(GURL("http://www.yahoo.com/monkey")));
60 EXPECT_FALSE(set.MatchesURL(GURL("https://www.apple.com/monkey")))
    [all...]
extension_set.cc 100 if (iter->second->web_extent().MatchesURL(url))
148 it->second->web_extent().MatchesURL(url))
url_pattern_set.h 79 bool MatchesURL(const GURL& url) const;
user_script.cc 90 bool UserScript::MatchesURL(const GURL& url) const {
92 if (!url_set_.MatchesURL(url))
97 if (exclude_url_set_.MatchesURL(url))
url_pattern.h 139 bool MatchesURL(const GURL& test) const;
145 // Note that if test is "filesystem", this may fail whereas MatchesURL
146 // may succeed. MatchesURL is smart enough to look at the inner_url instead
url_pattern_set.cc 142 bool URLPatternSet::MatchesURL(const GURL& url) const {
145 if (pattern->MatchesURL(url))
  /external/chromium_org/extensions/common/manifest_handlers/
externally_connectable_unittest.cc 55 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com")));
56 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com/")));
57 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html")));
59 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com")));
60 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/")));
61 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/index.html")));
62 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com")));
63 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/")));
64 EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com")));
65 EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com/")))
    [all...]
  /external/chromium_org/chrome/common/extensions/manifest_tests/
extension_manifests_default_extent_path_unittest.cc 15 EXPECT_TRUE(extension->web_extent().MatchesURL(
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
automation_unittest.cc 83 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/")));
84 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com")));
85 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com/")));
86 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com")));
88 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://www.bing.com/")));
89 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://www.bing.com")));
  /external/chromium_org/extensions/common/permissions/
permissions_data_unittest.cc 167 EXPECT_FALSE(hosts.MatchesURL(GURL("http://www.google.com")));
172 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com")));
173 EXPECT_FALSE(hosts.MatchesURL(GURL("https://www.google.com")));
179 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com")));
180 EXPECT_TRUE(hosts.MatchesURL(GURL("http://foo.google.com")));
185 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com")));
186 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.reddit.com")));
192 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com")));
193 EXPECT_TRUE(hosts.MatchesURL(GURL("https://google.com")));
199 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com")))
    [all...]
permission_set.cc 204 return explicit_hosts().MatchesURL(origin);
212 return scriptable_hosts().MatchesURL(origin);
241 return effective_hosts().MatchesURL(url);
  /external/chromium_org/chrome/browser/download/
download_crx_util.cc 139 if (!url_patterns.MatchesURL(item.GetURL()))
147 return url_patterns.MatchesURL(item.GetReferrerUrl()) ||
  /external/chromium_org/chrome/common/extensions/api/file_browser_handlers/
file_browser_handler.h 47 bool MatchesURL(const GURL& url) const;
file_browser_handler_manifest_unittest.cc 84 EXPECT_TRUE(action->MatchesURL(
117 EXPECT_TRUE(action->MatchesURL(
file_browser_handler.cc 75 bool FileBrowserHandler::MatchesURL(const GURL& url) const {
76 return url_set_.MatchesURL(url);
  /external/chromium_org/chrome/common/extensions/api/
extension_api_unittest.cc 621 bool MatchesURL(
631 EXPECT_TRUE(MatchesURL(api.get(), "app", "http://example.com/example.html"));
632 EXPECT_TRUE(MatchesURL(api.get(), "app", "https://blah.net"));
633 EXPECT_TRUE(MatchesURL(api.get(), "app", "file://somefile.html"));
636 EXPECT_FALSE(MatchesURL(api.get(), "app", "about:flags"));
637 EXPECT_FALSE(MatchesURL(api.get(), "app", "chrome://flags"));
640 EXPECT_TRUE(MatchesURL(api.get(), "app",
644 EXPECT_FALSE(MatchesURL(api.get(), "storage",
646 EXPECT_FALSE(MatchesURL(api.get(), "storage", "https://blah.net"));
647 EXPECT_FALSE(MatchesURL(api.get(), "storage", "file://somefile.html"))
    [all...]
  /external/chromium_org/chrome/browser/extensions/
webstore_inline_installer.cc 212 return verified_site_pattern.MatchesURL(requestor_url);
user_script_listener.cc 119 if ((*it).MatchesURL(url)) {
  /external/chromium_org/chrome/common/extensions/api/url_handlers/
url_handlers_parser.cc 78 if (it->patterns.MatchesURL(url))
  /external/chromium_org/chrome/browser/ui/ash/launcher/
app_shortcut_launcher_item_controller.cc 307 refocus_pattern.MatchesURL(tab_url)) ||
309 extension->web_extent().MatchesURL(tab_url)) ||
  /external/chromium_org/chrome/browser/extensions/api/automation_internal/
automation_internal_api.cc 55 if (automation_info->matches.MatchesURL(url))
  /external/chromium_org/chrome/browser/nacl_host/
nacl_browser_delegate_impl.cc 205 if (iter->MatchesURL(manifest_url)) {
  /external/chromium_org/extensions/browser/
info_map_unittest.cc 139 ASSERT_TRUE(app->web_extent().MatchesURL(app_url));

Completed in 277 milliseconds

1 2