/external/chromium_org/extensions/common/ |
H A D | 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(GUR [all...] |
H A D | url_pattern_unittest.cc | 105 EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com"))); 106 EXPECT_TRUE(pattern.MatchesURL(GURL("http://yahoo.com"))); 107 EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com/foo"))); 108 EXPECT_FALSE(pattern.MatchesURL(GURL("https://google.com"))); 109 EXPECT_TRUE(pattern.MatchesURL(GURL("http://74.125.127.100/search"))); 121 EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foo"))); 122 EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foobar"))); 123 EXPECT_FALSE(pattern.MatchesURL(GURL("http://www.google.com/foo"))); 124 EXPECT_FALSE(pattern.MatchesURL(GURL("https://www.google.com/"))); 125 EXPECT_TRUE(pattern.MatchesURL( [all...] |
H A D | url_pattern_set_unittest.cc | 40 EXPECT_FALSE(set.MatchesURL(GURL("http://www.foo.com/bar"))); 41 EXPECT_FALSE(set.MatchesURL(GURL())); 42 EXPECT_FALSE(set.MatchesURL(GURL("invalid"))); 49 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/"))); 50 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey"))); 51 EXPECT_FALSE(set.MatchesURL(GURL("https://www.google.com/"))); 52 EXPECT_FALSE(set.MatchesURL(GURL("https://www.microsoft.com/"))); 60 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey"))); 61 EXPECT_TRUE(set.MatchesURL(GURL("http://www.yahoo.com/monkey"))); 62 EXPECT_FALSE(set.MatchesURL(GUR [all...] |
H A D | extension_set.cc | 100 if (iter->second->web_extent().MatchesURL(url)) 148 it->second->web_extent().MatchesURL(url))
|
H A D | url_pattern_set.h | 83 bool MatchesURL(const GURL& url) const;
|
H A D | user_script.cc | 101 bool UserScript::MatchesURL(const GURL& url) const { function in class:extensions::UserScript 103 if (!url_set_.MatchesURL(url)) 108 if (exclude_url_set_.MatchesURL(url))
|
H A D | url_pattern.h | 140 bool MatchesURL(const GURL& test) const; 146 // Note that if test is "filesystem", this may fail whereas MatchesURL 147 // may succeed. MatchesURL is smart enough to look at the inner_url instead
|
H A D | url_pattern_set.cc | 176 bool URLPatternSet::MatchesURL(const GURL& url) const { function in class:extensions::URLPatternSet 179 if (pattern->MatchesURL(url))
|
/external/chromium_org/extensions/common/manifest_handlers/ |
H A D | 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(GUR [all...] |
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
H A D | extension_manifests_default_extent_path_unittest.cc | 15 EXPECT_TRUE(extension->web_extent().MatchesURL(
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
H A D | automation_unittest.cc | 106 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/"))); 107 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com"))); 108 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com/"))); 109 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com"))); 111 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://www.bing.com/"))); 112 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://www.bing.com"))); 135 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com/"))); 136 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com")));
|
/external/chromium_org/chrome/common/extensions/permissions/ |
H A D | permissions_data_unittest.cc | 155 EXPECT_FALSE(hosts.MatchesURL(GURL("http://www.google.com"))); 160 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); 161 EXPECT_FALSE(hosts.MatchesURL(GURL("https://www.google.com"))); 167 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com"))); 168 EXPECT_TRUE(hosts.MatchesURL(GURL("http://foo.google.com"))); 173 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); 174 EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.reddit.com"))); 180 EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com"))); 181 EXPECT_TRUE(hosts.MatchesURL(GURL("https://google.com"))); 187 EXPECT_TRUE(hosts.MatchesURL(GUR [all...] |
/external/chromium_org/chrome/common/extensions/api/file_browser_handlers/ |
H A D | file_browser_handler.h | 47 bool MatchesURL(const GURL& url) const;
|
H A D | file_browser_handler_manifest_unittest.cc | 84 EXPECT_TRUE(action->MatchesURL( 117 EXPECT_TRUE(action->MatchesURL(
|
H A D | file_browser_handler.cc | 75 bool FileBrowserHandler::MatchesURL(const GURL& url) const { function in class:FileBrowserHandler 76 return url_set_.MatchesURL(url);
|
/external/chromium_org/chrome/common/extensions/api/ |
H A D | extension_api_unittest.cc | 662 bool MatchesURL( function in namespace:extensions 672 EXPECT_TRUE(MatchesURL(api.get(), "app", "http://example.com/example.html")); 673 EXPECT_TRUE(MatchesURL(api.get(), "app", "https://blah.net")); 674 EXPECT_TRUE(MatchesURL(api.get(), "app", "file://somefile.html")); 677 EXPECT_TRUE(MatchesURL(api.get(), "app", "about:flags")); 678 EXPECT_TRUE(MatchesURL(api.get(), "app", "chrome://flags")); 681 EXPECT_TRUE(MatchesURL(api.get(), "app", 685 EXPECT_FALSE(MatchesURL(api.get(), "storage", 687 EXPECT_FALSE(MatchesURL(api.get(), "storage", "https://blah.net")); 688 EXPECT_FALSE(MatchesURL(ap [all...] |
/external/chromium_org/extensions/common/permissions/ |
H A D | permission_set.cc | 202 return explicit_hosts().MatchesURL(origin); 210 return scriptable_hosts().MatchesURL(origin); 235 return effective_hosts().MatchesURL(url);
|
H A D | permissions_data.cc | 356 if (permitted_url_patterns.MatchesURL(document_url)) 359 if (withheld_url_patterns.MatchesURL(document_url))
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | chrome_info_map_unittest.cc | 71 ASSERT_TRUE(app->web_extent().MatchesURL(app_url));
|
H A D | extension_management_unittest.cc | 214 EXPECT_TRUE(allowed_sites.MatchesURL(GURL("https://www.example.com/foo"))); 215 EXPECT_FALSE(allowed_sites.MatchesURL(GURL("https://www.example.com/bar"))); 217 allowed_sites.MatchesURL(GURL("https://corp.mycompany.com/entry"))); 219 allowed_sites.MatchesURL(GURL("https://www.mycompany.com/entry"))); 330 EXPECT_TRUE(allowed_sites.MatchesURL(GURL("http://foo.com/entry"))); 331 EXPECT_FALSE(allowed_sites.MatchesURL(GURL("http://bar.com/entry"))); 358 .install_sources.MatchesURL(GURL("https://www.example.com/foo"))); 370 .install_sources.MatchesURL(GURL("https://www.example.com/foo"))); 380 .install_sources.MatchesURL(
|
H A D | active_script_controller.cc | 114 if (withheld_permissions->explicit_hosts().MatchesURL(url)) { 118 if (withheld_permissions->scriptable_hosts().MatchesURL(url)) {
|
H A D | webstore_inline_installer.cc | 212 return verified_site_pattern.MatchesURL(requestor_url);
|
/external/chromium_org/chrome/browser/nacl_host/ |
H A D | nacl_browser_delegate_impl.cc | 176 if (iter->MatchesURL(manifest_url)) {
|
/external/chromium_org/chrome/common/extensions/api/url_handlers/ |
H A D | url_handlers_parser.cc | 78 if (it->patterns.MatchesURL(url))
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | app_shortcut_launcher_item_controller.cc | 304 refocus_pattern.MatchesURL(tab_url)) || 306 extension->web_extent().MatchesURL(tab_url)) ||
|