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

1 2

  /external/chromium_org/chrome/common/extensions/manifest_handlers/
externally_connectable_unittest.cc 52 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com")));
53 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com/")));
54 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html")));
56 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com")));
57 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/")));
58 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/index.html")));
59 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com")));
60 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/")));
61 EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com")));
62 EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com/")))
    [all...]
shared_module_info.cc 83 exported_set_.MatchesURL(extension->url().Resolve(relative_path));
  /external/chromium_org/extensions/common/
user_script_unittest.cc 25 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com")));
26 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com/foo")));
27 EXPECT_TRUE(script.MatchesURL(GURL("https://mail.google.com/foo")));
28 EXPECT_TRUE(script.MatchesURL(GURL("ftp://mail.google.com/foo")));
29 EXPECT_TRUE(script.MatchesURL(GURL("http://woo.mail.google.com/foo")));
30 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.yahoo.com/bar")));
31 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.msn.com/baz")));
32 EXPECT_FALSE(script.MatchesURL(GURL("http://www.hotmail.com")));
35 EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com")));
36 EXPECT_FALSE(script.MatchesURL(GURL("http://mail.google.com/foo")))
    [all...]
url_pattern_unittest.cc 95 EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com")));
96 EXPECT_TRUE(pattern.MatchesURL(GURL("http://yahoo.com")));
97 EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com/foo")));
98 EXPECT_FALSE(pattern.MatchesURL(GURL("https://google.com")));
99 EXPECT_TRUE(pattern.MatchesURL(GURL("http://74.125.127.100/search")));
111 EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foo")));
112 EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foobar")));
113 EXPECT_FALSE(pattern.MatchesURL(GURL("http://www.google.com/foo")));
114 EXPECT_FALSE(pattern.MatchesURL(GURL("https://www.google.com/")));
115 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...]
url_pattern_set.h 79 bool MatchesURL(const GURL& url) const;
user_script.cc 87 bool UserScript::MatchesURL(const GURL& url) const {
89 if (!url_set_.MatchesURL(url))
94 if (exclude_url_set_.MatchesURL(url))
url_pattern.h 134 bool MatchesURL(const GURL& test) const;
140 // Note that if test is "filesystem", this may fail whereas MatchesURL
141 // may succeed. MatchesURL is smart enough to look at the inner_url instead
url_pattern_set.cc 151 bool URLPatternSet::MatchesURL(const GURL& url) const {
154 if (pattern->MatchesURL(url))
  /external/chromium/chrome/common/extensions/
file_browser_handler.cc 24 bool FileBrowserHandler::MatchesURL(const GURL& url) const {
27 if (pattern->MatchesUrl(url))
file_browser_handler.h 43 bool MatchesURL(const GURL& url) const;
  /external/chromium_org/chrome/common/extensions/manifest_tests/
extension_manifests_default_extent_path_unittest.cc 16 EXPECT_TRUE(extension->web_extent().MatchesURL(
  /external/chromium_org/chrome/common/extensions/permissions/
permissions_data_unittest.cc 56 EXPECT_FALSE(hosts.MatchesURL(GURL("http://www.google.com")));
61 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com")));
62 EXPECT_FALSE(hosts.MatchesURL(GURL("https://www.google.com")));
68 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com")));
69 EXPECT_TRUE(hosts.MatchesURL(GURL("http://foo.google.com")));
74 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com")));
75 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.reddit.com")));
81 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com")));
82 EXPECT_TRUE(hosts.MatchesURL(GURL("https://google.com")));
88 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com")))
    [all...]
permission_set.cc 320 return explicit_hosts().MatchesURL(origin);
328 return scriptable_hosts().MatchesURL(origin);
351 return effective_hosts().MatchesURL(url);
  /external/chromium_org/chrome/browser/download/
download_crx_util.cc 141 if (!url_patterns.MatchesURL(item.GetURL()))
149 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 83 EXPECT_TRUE(action->MatchesURL(
116 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 598 bool MatchesURL(
608 EXPECT_TRUE(MatchesURL(api.get(), "app", "http://example.com/example.html"));
609 EXPECT_TRUE(MatchesURL(api.get(), "app", "https://blah.net"));
610 EXPECT_TRUE(MatchesURL(api.get(), "app", "file://somefile.html"));
613 EXPECT_FALSE(MatchesURL(api.get(), "app", "about:flags"));
614 EXPECT_FALSE(MatchesURL(api.get(), "app", "chrome://flags"));
617 EXPECT_TRUE(MatchesURL(api.get(), "app",
621 EXPECT_FALSE(MatchesURL(api.get(), "storage",
623 EXPECT_FALSE(MatchesURL(api.get(), "storage", "https://blah.net"));
624 EXPECT_FALSE(MatchesURL(api.get(), "storage", "file://somefile.html"))
    [all...]
  /external/chromium_org/chrome/common/extensions/
extension_set.cc 88 if (iter->second->web_extent().MatchesURL(url))
136 i->second->web_extent().MatchesURL(url))
  /external/chromium_org/chrome/browser/extensions/
webstore_inline_installer.cc 218 return verified_site_pattern.MatchesURL(requestor_url);
extension_info_map_unittest.cc 139 ASSERT_TRUE(app->web_extent().MatchesURL(app_url));
user_script_listener.cc 114 if ((*it).MatchesURL(url)) {
  /external/chromium_org/chrome/browser/ui/ash/launcher/
app_shortcut_launcher_item_controller.cc 261 refocus_pattern.MatchesURL(tab_url)) ||
263 extension->web_extent().MatchesURL(tab_url)) ||
  /external/chromium/chrome/browser/prerender/
prerender_contents.h 107 bool MatchesURL(const GURL& url) const;

Completed in 235 milliseconds

1 2