MatchesURL 127 chrome/browser/chromeos/file_manager/file_browser_handlers.cc if (!handler->MatchesURL(lowercase_url)) MatchesURL 136 chrome/browser/download/download_crx_util.cc if (!url_patterns.MatchesURL(item.GetURL())) MatchesURL 144 chrome/browser/download/download_crx_util.cc return url_patterns.MatchesURL(item.GetReferrerUrl()) || MatchesURL 244 chrome/browser/extensions/api/messaging/message_service.cc externally_connectable->matches.MatchesURL(source_url); MatchesURL 932 chrome/browser/extensions/api/tabs/tabs_api.cc if (!url_pattern.MatchesURL(web_contents->GetURL())) MatchesURL 1448 chrome/browser/extensions/api/web_request/web_request_api.cc if (!it->filter.urls.is_empty() && !it->filter.urls.MatchesURL(url)) MatchesURL 2590 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(extension->web_extent().MatchesURL( MatchesURL 2604 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(extension->web_extent().MatchesURL( MatchesURL 4437 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(extension->web_extent().MatchesURL( MatchesURL 118 chrome/browser/extensions/user_script_listener.cc if ((*it).MatchesURL(url)) { MatchesURL 213 chrome/browser/extensions/webstore_inline_installer.cc return verified_site_pattern.MatchesURL(requestor_url); MatchesURL 191 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc if (iter->MatchesURL(manifest_url)) { MatchesURL 443 chrome/browser/renderer_context_menu/render_view_context_menu.cc return patterns.MatchesURL(url); MatchesURL 307 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc refocus_pattern.MatchesURL(tab_url)) || MatchesURL 309 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc extension->web_extent().MatchesURL(tab_url)) || MatchesURL 145 chrome/browser/ui/extensions/application_launch.cc DCHECK(extension->web_extent().MatchesURL(override_url) || MatchesURL 256 chrome/browser/ui/webui/options/content_settings_handler.cc if (web_extent.MatchesURL(launch_url)) MatchesURL 631 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_TRUE(MatchesURL(api.get(), "app", "http://example.com/example.html")); MatchesURL 632 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_TRUE(MatchesURL(api.get(), "app", "https://blah.net")); MatchesURL 633 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_TRUE(MatchesURL(api.get(), "app", "file://somefile.html")); MatchesURL 636 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "app", "about:flags")); MatchesURL 637 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "app", "chrome://flags")); MatchesURL 640 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_TRUE(MatchesURL(api.get(), "app", MatchesURL 644 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "storage", MatchesURL 646 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "storage", "https://blah.net")); MatchesURL 647 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "storage", "file://somefile.html")); MatchesURL 648 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "storage", "about:flags")); MatchesURL 649 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "storage", "chrome://flags")); MatchesURL 650 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(MatchesURL(api.get(), "storage", MatchesURL 76 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc return url_set_.MatchesURL(url); MatchesURL 47 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h bool MatchesURL(const GURL& url) const; MatchesURL 84 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc EXPECT_TRUE(action->MatchesURL( MatchesURL 117 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc EXPECT_TRUE(action->MatchesURL( MatchesURL 78 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc if (it->patterns.MatchesURL(url)) MatchesURL 347 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (iter->MatchesURL(url)) MatchesURL 52 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com"))); MatchesURL 53 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com/"))); MatchesURL 54 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html"))); MatchesURL 56 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com"))); MatchesURL 57 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/"))); MatchesURL 58 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); MatchesURL 59 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com"))); MatchesURL 60 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/"))); MatchesURL 61 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com"))); MatchesURL 62 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com/"))); MatchesURL 64 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); MatchesURL 65 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org/"))); MatchesURL 67 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://build.chromium.org/index.html"))); MatchesURL 68 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org"))); MatchesURL 69 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org/"))); MatchesURL 71 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://foo.chromium.org/index.html"))); MatchesURL 73 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com"))); MatchesURL 74 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com/"))); MatchesURL 77 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://appspot.com/foo.html"))); MatchesURL 78 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://com"))); MatchesURL 79 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://go/here"))); MatchesURL 83 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://codereview.appspot.com/foo.html"))); MatchesURL 85 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://chromium.com/index.html"))); MatchesURL 86 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://here.go/somewhere"))); MatchesURL 90 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://no.wildcard.path"))); MatchesURL 91 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://no.wildcard.path/"))); MatchesURL 92 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL( MatchesURL 112 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); MatchesURL 132 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com"))); MatchesURL 133 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com/"))); MatchesURL 134 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html"))); MatchesURL 136 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com"))); MatchesURL 137 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/"))); MatchesURL 138 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); MatchesURL 139 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com"))); MatchesURL 140 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/"))); MatchesURL 141 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com"))); MatchesURL 142 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://google.com/"))); MatchesURL 144 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); MatchesURL 145 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org/"))); MatchesURL 147 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://build.chromium.org/index.html"))); MatchesURL 148 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org"))); MatchesURL 149 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("https://build.chromium.org/"))); MatchesURL 151 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc info->matches.MatchesURL(GURL("http://foo.chromium.org/index.html"))); MatchesURL 153 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com"))); MatchesURL 154 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://yahoo.com/"))); MatchesURL 178 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://example.com"))); MatchesURL 179 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://example.com/index.html"))); MatchesURL 198 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(info->matches.MatchesURL(GURL("http://google.com/index.html"))); MatchesURL 254 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); MatchesURL 255 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); MatchesURL 266 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); MatchesURL 267 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); MatchesURL 280 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); MatchesURL 281 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); MatchesURL 294 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); MatchesURL 295 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); MatchesURL 308 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("https://example.com"))); MatchesURL 309 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(info->matches.MatchesURL(GURL("http://build.chromium.org"))); MatchesURL 15 chrome/common/extensions/manifest_tests/extension_manifests_default_extent_path_unittest.cc EXPECT_TRUE(extension->web_extent().MatchesURL( MatchesURL 916 chrome/renderer/chrome_content_renderer_client.cc extension->web_extent().MatchesURL(app_url); MatchesURL 743 chrome/renderer/extensions/dispatcher.cc if (info && info->matches.MatchesURL(context->GetURL())) { MatchesURL 434 extensions/browser/extension_function_dispatcher.cc if (!extension.web_extent().MatchesURL(source_url)) MatchesURL 138 extensions/browser/info_map_unittest.cc ASSERT_TRUE(app->web_extent().MatchesURL(app_url)); MatchesURL 182 extensions/common/extension.cc return pattern_set.MatchesURL(extension_url_.Resolve(resource)); MatchesURL 95 extensions/common/extension_set.cc if (iter->second->web_extent().MatchesURL(url)) MatchesURL 143 extensions/common/extension_set.cc it->second->web_extent().MatchesURL(url)) MatchesURL 345 extensions/common/features/simple_feature.cc if (!matches_.is_empty() && !matches_.MatchesURL(url)) MatchesURL 83 extensions/common/manifest_handlers/shared_module_info.cc exported_set_.MatchesURL(extension->url().Resolve(relative_path)); MatchesURL 203 extensions/common/permissions/permission_set.cc return explicit_hosts().MatchesURL(origin); MatchesURL 211 extensions/common/permissions/permission_set.cc return scriptable_hosts().MatchesURL(origin); MatchesURL 234 extensions/common/permissions/permission_set.cc return effective_hosts().MatchesURL(url); MatchesURL 510 extensions/common/permissions/permissions_data.cc can_access = script->MatchesURL(document_url); MatchesURL 57 extensions/common/permissions/permissions_data_unittest.cc EXPECT_FALSE(hosts.MatchesURL(GURL("http://www.google.com"))); MatchesURL 62 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); MatchesURL 63 extensions/common/permissions/permissions_data_unittest.cc EXPECT_FALSE(hosts.MatchesURL(GURL("https://www.google.com"))); MatchesURL 69 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com"))); MatchesURL 70 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://foo.google.com"))); MatchesURL 75 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); MatchesURL 76 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.reddit.com"))); MatchesURL 82 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com"))); MatchesURL 83 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("https://google.com"))); MatchesURL 89 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://google.com"))); MatchesURL 90 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.reddit.com"))); MatchesURL 93 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://news.ycombinator.com"))); MatchesURL 100 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://test/"))); MatchesURL 101 extensions/common/permissions/permissions_data_unittest.cc EXPECT_FALSE(hosts.MatchesURL(GURL("https://test/"))); MatchesURL 102 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); MatchesURL 107 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://test/"))); MatchesURL 108 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); MatchesURL 113 extensions/common/permissions/permissions_data_unittest.cc EXPECT_FALSE(hosts.MatchesURL(GURL("http://test/"))); MatchesURL 114 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("https://test/"))); MatchesURL 115 extensions/common/permissions/permissions_data_unittest.cc EXPECT_TRUE(hosts.MatchesURL(GURL("http://www.google.com"))); MatchesURL 135 extensions/common/url_pattern.h bool MatchesURL(const GURL& test) const; MatchesURL 153 extensions/common/url_pattern_set.cc if (pattern->MatchesURL(url)) MatchesURL 79 extensions/common/url_pattern_set.h bool MatchesURL(const GURL& url) const; MatchesURL 38 extensions/common/url_pattern_set_unittest.cc EXPECT_FALSE(set.MatchesURL(GURL("http://www.foo.com/bar"))); MatchesURL 39 extensions/common/url_pattern_set_unittest.cc EXPECT_FALSE(set.MatchesURL(GURL())); MatchesURL 40 extensions/common/url_pattern_set_unittest.cc EXPECT_FALSE(set.MatchesURL(GURL("invalid"))); MatchesURL 47 extensions/common/url_pattern_set_unittest.cc EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/"))); MatchesURL 48 extensions/common/url_pattern_set_unittest.cc EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey"))); MatchesURL 49 extensions/common/url_pattern_set_unittest.cc EXPECT_FALSE(set.MatchesURL(GURL("https://www.google.com/"))); MatchesURL 50 extensions/common/url_pattern_set_unittest.cc EXPECT_FALSE(set.MatchesURL(GURL("https://www.microsoft.com/"))); MatchesURL 58 extensions/common/url_pattern_set_unittest.cc EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey"))); MatchesURL 59 extensions/common/url_pattern_set_unittest.cc EXPECT_TRUE(set.MatchesURL(GURL("http://www.yahoo.com/monkey"))); MatchesURL 60 extensions/common/url_pattern_set_unittest.cc EXPECT_FALSE(set.MatchesURL(GURL("https://www.apple.com/monkey"))); MatchesURL 95 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com"))); MatchesURL 96 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://yahoo.com"))); MatchesURL 97 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com/foo"))); MatchesURL 98 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("https://google.com"))); MatchesURL 99 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://74.125.127.100/search"))); MatchesURL 111 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foo"))); MatchesURL 112 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("https://www.google.com/foobar"))); MatchesURL 113 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://www.google.com/foo"))); MatchesURL 114 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("https://www.google.com/"))); MatchesURL 115 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 129 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://google.com/foobar"))); MatchesURL 130 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.google.com/foo?bar"))); MatchesURL 131 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 133 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://yahoo.com/foobar"))); MatchesURL 134 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 136 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL( MatchesURL 149 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo?bar\\hellobaz"))); MatchesURL 150 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file:///fooXbar\\hellobaz"))); MatchesURL 162 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); MatchesURL 176 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://127.0.0.1"))); MatchesURL 191 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 193 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 206 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); MatchesURL 207 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/https://google.com"))); MatchesURL 208 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("chrome://history"))); MatchesURL 223 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); MatchesURL 224 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); MatchesURL 225 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file:///foo/bar"))); MatchesURL 226 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://localhost/foo/bar"))); MatchesURL 242 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); MatchesURL 243 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); MatchesURL 244 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo/bar"))); MatchesURL 245 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo/bar"))); MatchesURL 277 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://favicon/http://google.com"))); MatchesURL 278 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://127.0.0.1"))); MatchesURL 279 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo/bar"))); MatchesURL 280 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo/bar"))); MatchesURL 281 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome://newtab"))); MatchesURL 282 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("about:blank"))); MatchesURL 283 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("about:version"))); MatchesURL 284 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 307 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 315 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("about:blank"))); MatchesURL 327 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foo"))); MatchesURL 328 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foobar"))); MatchesURL 329 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo"))); MatchesURL 330 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foobar"))); MatchesURL 331 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo"))); MatchesURL 343 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foo"))); MatchesURL 344 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foobar"))); MatchesURL 345 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo"))); MatchesURL 346 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foobar"))); MatchesURL 347 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo"))); MatchesURL 360 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foo"))); MatchesURL 361 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("file://foobar"))); MatchesURL 362 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foo"))); MatchesURL 363 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file:///foobar"))); MatchesURL 364 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("file://localhost/foo"))); MatchesURL 378 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com:80/foo"))); MatchesURL 379 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com/foo"))); MatchesURL 380 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("http://www.example.com:8080/foo"))); MatchesURL 381 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL( MatchesURL 383 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("filesystem:http://www.example.com/f/foo"))); MatchesURL 397 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com:80/foo"))); MatchesURL 398 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com/foo"))); MatchesURL 399 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("http://www.example.com:8080/foo"))); MatchesURL 400 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL( MatchesURL 414 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL(GURL("chrome-extension://ftw"))); MatchesURL 415 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 417 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 419 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(GURL("chrome-extension://foobar"))); MatchesURL 420 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern.MatchesURL( MatchesURL 553 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern.MatchesURL(url)); MatchesURL 568 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern1.MatchesURL(url1)); MatchesURL 569 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern2.MatchesURL(url2)); MatchesURL 571 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern2.MatchesURL(url1)); MatchesURL 573 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern1.MatchesURL(url2)); MatchesURL 675 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern1.MatchesURL(GURL("http://bb.com/path"))); MatchesURL 676 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern1.MatchesURL(GURL("http://aa.com/path"))); MatchesURL 681 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern2.MatchesURL(GURL("http://bb.com/path"))); MatchesURL 682 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern2.MatchesURL(GURL("http://aa.com/path"))); MatchesURL 683 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern2.MatchesURL(GURL("http://sub.aa.com/path"))); MatchesURL 687 extensions/common/url_pattern_unittest.cc EXPECT_FALSE(pattern3.MatchesURL(GURL("http://aa.com/path"))); MatchesURL 688 extensions/common/url_pattern_unittest.cc EXPECT_TRUE(pattern3.MatchesURL(GURL("http://aa.com:88/path"))); MatchesURL 89 extensions/common/user_script.cc if (!url_set_.MatchesURL(url)) MatchesURL 94 extensions/common/user_script.cc if (exclude_url_set_.MatchesURL(url)) MatchesURL 180 extensions/common/user_script.h bool MatchesURL(const GURL& url) const; MatchesURL 25 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com"))); MatchesURL 26 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com/foo"))); MatchesURL 27 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("https://mail.google.com/foo"))); MatchesURL 28 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("ftp://mail.google.com/foo"))); MatchesURL 29 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://woo.mail.google.com/foo"))); MatchesURL 30 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.yahoo.com/bar"))); MatchesURL 31 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.msn.com/baz"))); MatchesURL 32 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://www.hotmail.com"))); MatchesURL 35 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com"))); MatchesURL 36 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://mail.google.com/foo"))); MatchesURL 43 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com"))); MatchesURL 44 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com/"))); MatchesURL 45 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://mail.google.com/foo"))); MatchesURL 52 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com"))); MatchesURL 53 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://mail.google.com/foo"))); MatchesURL 54 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("https://mail.google.com/foo"))); MatchesURL 60 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://foo.com/bar"))); MatchesURL 61 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://hot.com/dog"))); MatchesURL 62 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("https://hot.com/dog"))); MatchesURL 63 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("file:///foo/bar"))); MatchesURL 64 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("file://localhost/foo/bar"))); MatchesURL 70 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://foo.com/bar"))); MatchesURL 71 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://baz.org/foo/bar"))); MatchesURL 72 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://baz.org"))); MatchesURL 81 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://monkey.com/foobar"))); MatchesURL 82 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://monkey.com/hotdog"))); MatchesURL 98 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://www.nytimes.com/health"))); MatchesURL 99 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://www.nytimes.com/business"))); MatchesURL 100 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://business.nytimes.com"))); MatchesURL 112 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://www.nytimes.com/arts/1.html"))); MatchesURL 113 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://www.nytimes.com/jobs/1.html"))); MatchesURL 114 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://www.nytimes.com/sports/1.html"))); MatchesURL 126 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://www.nytimes.com"))); MatchesURL 127 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://science.nytimes.com"))); MatchesURL 128 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://www.nytimes.com/science"))); MatchesURL 142 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://www.google.com/foo"))); MatchesURL 147 extensions/common/user_script_unittest.cc EXPECT_FALSE(script.MatchesURL(GURL("http://www.google.com/baz"))); MatchesURL 150 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://www.google.com/bar"))); MatchesURL 154 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://www.google.com/foo"))); MatchesURL 158 extensions/common/user_script_unittest.cc EXPECT_TRUE(script.MatchesURL(GURL("http://www.google.com/foo")));