URLPattern 50 chrome/browser/extensions/active_tab_permission_granter.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); URLPattern 53 chrome/browser/extensions/active_tab_permission_granter.cc URLPattern::PARSE_SUCCESS) { URLPattern 62 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS | URLPattern 63 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc URLPattern::SCHEME_FILE; URLPattern 64 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc URLPattern url_pattern(kAllowedSchemes); URLPattern 65 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc URLPattern::ParseResult result = url_pattern.Parse(pattern_str); URLPattern 66 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc if (result != URLPattern::PARSE_SUCCESS) { URLPattern 67 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc *error = URLPattern::GetParseResultString(result); URLPattern 116 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); URLPattern 117 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc URLPattern::ParseResult result = pattern.Parse(pattern_string); URLPattern 118 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc if (result != URLPattern::PARSE_SUCCESS) { URLPattern 120 chrome/browser/extensions/api/messaging/native_messaging_host_manifest.cc "\": " + URLPattern::GetParseResultString(result); URLPattern 138 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc allowed_schemes &= ~URLPattern::SCHEME_FILE; URLPattern 139 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc URLPattern origin(allowed_schemes); URLPattern 140 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc URLPattern::ParseResult parse_result = origin.Parse(*it); URLPattern 141 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc if (URLPattern::PARSE_SUCCESS != parse_result) { URLPattern 145 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc URLPattern::GetParseResultString(parse_result)); URLPattern 23 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 24 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 19 chrome/browser/extensions/api/permissions/permissions_apitest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 20 chrome/browser/extensions/api/permissions/permissions_apitest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 844 chrome/browser/extensions/api/tabs/tabs_api.cc URLPattern url_pattern(URLPattern::SCHEME_ALL, "<all_urls>"); URLPattern 846 chrome/browser/extensions/api/tabs/tabs_api.cc url_pattern = URLPattern(URLPattern::SCHEME_ALL, *params->query_info.url); URLPattern 560 chrome/browser/extensions/api/web_request/web_request_api.cc URLPattern pattern( URLPattern 561 chrome/browser/extensions/api/web_request/web_request_api.cc URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS | URLPattern 562 chrome/browser/extensions/api/web_request/web_request_api.cc URLPattern::SCHEME_FTP | URLPattern::SCHEME_FILE | URLPattern 563 chrome/browser/extensions/api/web_request/web_request_api.cc URLPattern::SCHEME_EXTENSION); URLPattern 565 chrome/browser/extensions/api/web_request/web_request_api.cc pattern.Parse(url) != URLPattern::PARSE_SUCCESS) { URLPattern 26 chrome/browser/extensions/convert_user_script_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 27 chrome/browser/extensions/convert_user_script_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 405 chrome/browser/extensions/crx_installer.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); URLPattern 38 chrome/browser/extensions/extension_prefs_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 39 chrome/browser/extensions/extension_prefs_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 216 chrome/browser/extensions/extension_service_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 217 chrome/browser/extensions/extension_service_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 287 chrome/browser/extensions/menu_manager.cc *document_url_patterns, URLPattern::SCHEME_ALL, true, error)) { URLPattern 293 chrome/browser/extensions/menu_manager.cc *target_url_patterns, URLPattern::SCHEME_ALL, true, error)) { URLPattern 259 chrome/browser/extensions/menu_manager_unittest.cc URLPattern::SCHEME_ALL, URLPattern 266 chrome/browser/extensions/menu_manager_unittest.cc URLPattern::SCHEME_ALL, URLPattern 103 chrome/browser/extensions/permissions_updater_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 104 chrome/browser/extensions/permissions_updater_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 226 chrome/browser/extensions/policy_handlers.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 227 chrome/browser/extensions/policy_handlers.cc if (pattern.Parse(url_pattern_string) != URLPattern::PARSE_SUCCESS) { URLPattern 21 chrome/browser/extensions/user_script_listener.h class URLPattern; URLPattern 56 chrome/browser/extensions/user_script_listener.h typedef std::list<URLPattern> URLPatterns; URLPattern 124 chrome/browser/extensions/user_script_master.cc URLPattern pattern(UserScript::ValidUserScriptSchemes()); URLPattern 125 chrome/browser/extensions/user_script_master.cc if (URLPattern::PARSE_SUCCESS != pattern.Parse(value)) URLPattern 129 chrome/browser/extensions/user_script_master.cc URLPattern exclude(UserScript::ValidUserScriptSchemes()); URLPattern 130 chrome/browser/extensions/user_script_master.cc if (URLPattern::PARSE_SUCCESS != exclude.Parse(value)) URLPattern 28 chrome/browser/extensions/user_script_master_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 29 chrome/browser/extensions/user_script_master_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 179 chrome/browser/extensions/webstore_inline_installer.cc int valid_schemes = URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS; URLPattern 186 chrome/browser/extensions/webstore_inline_installer.cc valid_schemes = URLPattern::SCHEME_HTTP; URLPattern 188 chrome/browser/extensions/webstore_inline_installer.cc valid_schemes = URLPattern::SCHEME_HTTPS; URLPattern 203 chrome/browser/extensions/webstore_inline_installer.cc URLPattern verified_site_pattern(valid_schemes); URLPattern 204 chrome/browser/extensions/webstore_inline_installer.cc URLPattern::ParseResult parse_result = URLPattern 206 chrome/browser/extensions/webstore_inline_installer.cc if (parse_result != URLPattern::PARSE_SUCCESS) { URLPattern 171 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 172 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc if (pattern.Parse(*iter) == URLPattern::PARSE_SUCCESS) { URLPattern 176 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc pattern.SetValidSchemes(URLPattern::SCHEME_ALL); URLPattern 189 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc for (std::vector<URLPattern>::iterator iter = debug_patterns_.begin(); URLPattern 37 chrome/browser/nacl_host/nacl_browser_delegate_impl.h std::vector<URLPattern> debug_patterns_; URLPattern 76 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc URLPattern target(URLPattern::SCHEME_HTTP); URLPattern 162 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc URLPattern refocus_pattern(URLPattern::SCHEME_ALL); URLPattern 230 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc URLPattern refocus_pattern(URLPattern::SCHEME_ALL); URLPattern 285 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc const URLPattern& refocus_pattern, URLPattern 15 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h class URLPattern; URLPattern 71 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h const URLPattern& refocus_pattern, URLPattern 67 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc void FileBrowserHandler::AddPattern(const URLPattern& pattern) { URLPattern 209 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); URLPattern 210 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc if (pattern.Parse(filter) != URLPattern::PARSE_SUCCESS) { URLPattern 18 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h class URLPattern; URLPattern 46 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h void AddPattern(const URLPattern& pattern); URLPattern 16 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.h class URLPattern; URLPattern 120 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc URLPattern pattern(URLPattern::SCHEME_HTTP | URLPattern 121 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc URLPattern::SCHEME_HTTPS); URLPattern 122 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc if (pattern.Parse(str_pattern) != URLPattern::PARSE_SUCCESS) { URLPattern 122 chrome/common/extensions/chrome_extensions_client.cc hosts.AddPattern(URLPattern(URLPattern::SCHEME_CHROMEUI, URLPattern 135 chrome/common/extensions/chrome_extensions_client.cc hosts.AddPattern(URLPattern(URLPattern::SCHEME_CHROMEUI, URLPattern 159 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern pattern(Extension::kValidWebExtentSchemes); URLPattern 181 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern pattern(Extension::kValidWebExtentSchemes); URLPattern 289 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern pattern(Extension::kValidWebExtentSchemes); URLPattern 290 chrome/common/extensions/manifest_handlers/app_launch_info.cc URLPattern::ParseResult result = pattern.Parse(override_url.spec()); URLPattern 291 chrome/common/extensions/manifest_handlers/app_launch_info.cc DCHECK_EQ(result, URLPattern::PARSE_SUCCESS); URLPattern 139 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern pattern(UserScript::ValidUserScriptSchemes( URLPattern 142 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern::ParseResult parse_result = pattern.Parse(match_str); URLPattern 143 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (parse_result != URLPattern::PARSE_SUCCESS) { URLPattern 148 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern::GetParseResultString(parse_result)); URLPattern 160 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc pattern.valid_schemes() & ~URLPattern::SCHEME_CHROMEUI); URLPattern 168 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc pattern.valid_schemes() & ~URLPattern::SCHEME_FILE); URLPattern 198 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern pattern(valid_schemes); URLPattern 200 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern::ParseResult parse_result = pattern.Parse(match_str); URLPattern 201 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc if (parse_result != URLPattern::PARSE_SUCCESS) { URLPattern 205 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc URLPattern::GetParseResultString(parse_result)); URLPattern 30 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc URLPattern::GetParseResultString( URLPattern 31 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc URLPattern::PARSE_ERROR_INVALID_SCHEME))), URLPattern 65 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://yahoo.com/*")); URLPattern 108 chrome/common/extensions/manifest_handlers/externally_connectable.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 109 chrome/common/extensions/manifest_handlers/externally_connectable.cc if (pattern.Parse(*it) != URLPattern::PARSE_SUCCESS) { URLPattern 253 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "<all_urls>"))); URLPattern 265 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "http://*/*"))); URLPattern 279 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "http://*.co.uk/*"))); URLPattern 293 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "http://*.appspot.com/*"))); URLPattern 307 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "http://*.notatld/*"))); URLPattern 219 chrome/common/extensions/manifest_tests/extension_manifest_test.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 220 chrome/common/extensions/manifest_tests/extension_manifest_test.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 30 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc URLPattern::GetParseResultString( URLPattern 31 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc URLPattern::PARSE_ERROR_MISSING_SCHEME_SEPARATOR))), URLPattern 308 chrome/common/extensions/manifest_url_handler.cc URLPattern pattern(URLPattern::SCHEME_CHROMEUI); URLPattern 311 chrome/common/extensions/manifest_url_handler.cc if (pattern.Parse(url) != URLPattern::PARSE_SUCCESS) { URLPattern 32 chrome/common/extensions/permissions/permission_set_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 33 chrome/common/extensions/permissions/permission_set_unittest.cc extent->AddPattern(URLPattern(schemes, pattern)); URLPattern 1051 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.com/path")); URLPattern 1053 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.bar.com/path")); URLPattern 1055 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.baz.com/path")); URLPattern 1066 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.com/path")); URLPattern 1068 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.baz.com/path")); URLPattern 1079 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTPS, "https://www.bar.com/path")); URLPattern 1090 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.bar.com/pathypath")); URLPattern 1101 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://monkey.www.bar.com/path")); URLPattern 1103 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://bar.com/path")); URLPattern 1118 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.com/path")); URLPattern 1120 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.co.uk/path")); URLPattern 1122 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.de/path")); URLPattern 1124 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.ca.us/path")); URLPattern 1126 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.net/path")); URLPattern 1128 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.com.my/path")); URLPattern 1132 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.xyzzy/path")); URLPattern 1135 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.xyzzy/path")); URLPattern 1148 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://*.google.com/*")); URLPattern 1166 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://*.google.com/*")); URLPattern 1168 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://*.example.com/*")); URLPattern 1189 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_FILE, "file:///*")); URLPattern 1200 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.ca/path")); URLPattern 1202 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.org/path")); URLPattern 1204 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.co.uk/path")); URLPattern 1206 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.net/path")); URLPattern 1208 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.jp/path")); URLPattern 1210 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.com/path")); URLPattern 1222 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.ca/path")); URLPattern 1224 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.org/path")); URLPattern 1226 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.co.uk/path")); URLPattern 1228 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.net/path")); URLPattern 1230 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.jp/path")); URLPattern 1243 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.ca/path")); URLPattern 1245 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.org/path")); URLPattern 1247 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.co.uk/path")); URLPattern 1250 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.jp/path")); URLPattern 1263 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.ca/path")); URLPattern 1266 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.co.uk/path")); URLPattern 1269 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.foo.jp/path")); URLPattern 1291 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.google.com.hk/path")); URLPattern 1293 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.google.com/path")); URLPattern 1297 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.google.com/path")); URLPattern 1299 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.google.com.hk/path")); URLPattern 1312 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.google.com/*")); URLPattern 1321 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.google.com.hk/*")); URLPattern 1330 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://*.google.com.hk/*")); URLPattern 1340 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.google.com/path")); URLPattern 1342 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://www.example.org/path")); URLPattern 1351 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_HTTP, "http://mail.google.com/*")); URLPattern 1447 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "http://www.google.com/")); URLPattern 1449 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "chrome://favicon/")); URLPattern 1451 chrome/common/extensions/permissions/permission_set_unittest.cc URLPattern(URLPattern::SCHEME_ALL, "chrome://thumb/")); URLPattern 31 chrome/renderer/extensions/dispatcher.h class URLPattern; URLPattern 166 chrome/renderer/page_load_histograms.cc URLPattern::SchemeMasks GetSupportedSchemeType(const GURL& url) { URLPattern 168 chrome/renderer/page_load_histograms.cc return URLPattern::SCHEME_HTTP; URLPattern 170 chrome/renderer/page_load_histograms.cc return URLPattern::SCHEME_HTTPS; URLPattern 171 chrome/renderer/page_load_histograms.cc return static_cast<URLPattern::SchemeMasks>(0); URLPattern 541 chrome/renderer/page_load_histograms.cc URLPattern::SchemeMasks scheme_type = URLPattern 979 chrome/renderer/page_load_histograms.cc if (scheme_type == URLPattern::SCHEME_HTTPS) { URLPattern 984 chrome/renderer/page_load_histograms.cc DCHECK(scheme_type == URLPattern::SCHEME_HTTP); URLPattern 990 chrome/renderer/page_load_histograms.cc if (scheme_type == URLPattern::SCHEME_HTTPS) { URLPattern 996 chrome/renderer/page_load_histograms.cc DCHECK(scheme_type == URLPattern::SCHEME_HTTP); URLPattern 21 components/nacl/browser/nacl_browser.h class URLPattern; URLPattern 1813 extensions/browser/extension_prefs.cc URLPattern entry(URLPattern::SCHEME_ALL); URLPattern 1815 extensions/browser/extension_prefs.cc entry.Parse(entry_string) != URLPattern::PARSE_SUCCESS) { URLPattern 78 extensions/common/extension.cc URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS; URLPattern 80 extensions/common/extension.cc const int Extension::kValidHostPermissionSchemes = URLPattern::SCHEME_CHROMEUI | URLPattern 81 extensions/common/extension.cc URLPattern::SCHEME_HTTP | URLPattern 82 extensions/common/extension.cc URLPattern::SCHEME_HTTPS | URLPattern 83 extensions/common/extension.cc URLPattern::SCHEME_FILE | URLPattern 84 extensions/common/extension.cc URLPattern::SCHEME_FTP; URLPattern 321 extensions/common/extension.cc URLPattern origin_only_pattern(kValidWebExtentSchemes); URLPattern 453 extensions/common/extension.cc void Extension::AddWebExtentPattern(const URLPattern& pattern) { URLPattern 647 extensions/common/extension.cc URLPattern pattern(kValidWebExtentSchemes); URLPattern 648 extensions/common/extension.cc URLPattern::ParseResult parse_result = pattern.Parse(pattern_string); URLPattern 649 extensions/common/extension.cc if (parse_result == URLPattern::PARSE_ERROR_EMPTY_PATH) { URLPattern 654 extensions/common/extension.cc if (parse_result != URLPattern::PARSE_SUCCESS) { URLPattern 658 extensions/common/extension.cc URLPattern::GetParseResultString(parse_result)); URLPattern 344 extensions/common/extension.h void AddWebExtentPattern(const URLPattern& pattern); URLPattern 81 extensions/common/extension_messages.cc void ParamTraits<URLPattern>::Write(Message* m, const param_type& p) { URLPattern 86 extensions/common/extension_messages.cc bool ParamTraits<URLPattern>::Read(const Message* m, PickleIterator* iter, URLPattern 99 extensions/common/extension_messages.cc p->SetValidSchemes(URLPattern::SCHEME_ALL); URLPattern 100 extensions/common/extension_messages.cc URLPattern::ParseResult result = p->Parse(spec); URLPattern 102 extensions/common/extension_messages.cc return URLPattern::PARSE_SUCCESS == result; URLPattern 105 extensions/common/extension_messages.cc void ParamTraits<URLPattern>::Log(const param_type& p, std::string* l) { URLPattern 115 extensions/common/extension_messages.cc std::set<URLPattern> patterns; URLPattern 119 extensions/common/extension_messages.cc for (std::set<URLPattern>::iterator i = patterns.begin(); URLPattern 243 extensions/common/extension_messages.h struct ParamTraits<URLPattern> { URLPattern 244 extensions/common/extension_messages.h typedef URLPattern param_type; URLPattern 132 extensions/common/features/simple_feature.cc set->AddPattern(URLPattern(URLPattern::SCHEME_ALL, pattern)); URLPattern 80 extensions/common/manifest_handlers/sandboxed_page_info.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); URLPattern 81 extensions/common/manifest_handlers/sandboxed_page_info.cc if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) { URLPattern 145 extensions/common/manifest_handlers/shared_module_info.cc URLPattern(URLPattern::SCHEME_EXTENSION, resolved_path.spec())); URLPattern 80 extensions/common/manifest_handlers/web_accessible_resources_info.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); URLPattern 81 extensions/common/manifest_handlers/web_accessible_resources_info.cc if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) { URLPattern 48 extensions/common/manifest_handlers/webview_info.cc bool AddPattern(const URLPattern& pattern) { URLPattern 166 extensions/common/manifest_handlers/webview_info.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION, URLPattern 23 extensions/common/permissions/permission_set.cc URLPattern p = *i; URLPattern 65 extensions/common/permissions/permissions_data.cc const URLPattern& pattern, URLPattern 172 extensions/common/permissions/permissions_data.cc URLPattern::SCHEME_ALL : Extension::kValidHostPermissionSchemes; URLPattern 179 extensions/common/permissions/permissions_data.cc URLPattern pattern = URLPattern(kAllowedSchemes); URLPattern 180 extensions/common/permissions/permissions_data.cc URLPattern::ParseResult parse_result = pattern.Parse(permission_str); URLPattern 181 extensions/common/permissions/permissions_data.cc if (parse_result == URLPattern::PARSE_SUCCESS) { URLPattern 190 extensions/common/permissions/permissions_data.cc valid_schemes &= ~URLPattern::SCHEME_FILE; URLPattern 199 extensions/common/permissions/permissions_data.cc valid_schemes &= ~URLPattern::SCHEME_CHROMEUI; URLPattern 544 extensions/common/permissions/permissions_data.cc const URLPattern all_urls(URLPattern::SCHEME_ALL, URLPattern 545 extensions/common/permissions/permissions_data.cc URLPattern::kAllUrlsPattern); URLPattern 559 extensions/common/permissions/permissions_data_unittest.cc allowed_hosts.AddPattern(URLPattern(URLPattern::SCHEME_ALL, URLPattern 594 extensions/common/permissions/permissions_data_unittest.cc more_allowed_hosts.AddPattern(URLPattern(URLPattern::SCHEME_ALL, URLPattern 16 extensions/common/url_pattern.cc const char URLPattern::kAllUrlsPattern[] = "<all_urls>"; URLPattern 33 extensions/common/url_pattern.cc URLPattern::SCHEME_HTTP, URLPattern 34 extensions/common/url_pattern.cc URLPattern::SCHEME_HTTPS, URLPattern 35 extensions/common/url_pattern.cc URLPattern::SCHEME_FILE, URLPattern 36 extensions/common/url_pattern.cc URLPattern::SCHEME_FTP, URLPattern 37 extensions/common/url_pattern.cc URLPattern::SCHEME_CHROMEUI, URLPattern 38 extensions/common/url_pattern.cc URLPattern::SCHEME_EXTENSION, URLPattern 39 extensions/common/url_pattern.cc URLPattern::SCHEME_FILESYSTEM, URLPattern 66 extensions/common/url_pattern.cc COMPILE_ASSERT(URLPattern::NUM_PARSE_RESULTS == arraysize(kParseResultMessages), URLPattern 112 extensions/common/url_pattern.cc URLPattern::URLPattern() URLPattern 118 extensions/common/url_pattern.cc URLPattern::URLPattern(int valid_schemes) URLPattern 124 extensions/common/url_pattern.cc URLPattern::URLPattern(int valid_schemes, const std::string& pattern) URLPattern 136 extensions/common/url_pattern.cc URLPattern::~URLPattern() { URLPattern 139 extensions/common/url_pattern.cc bool URLPattern::operator<(const URLPattern& other) const { URLPattern 143 extensions/common/url_pattern.cc bool URLPattern::operator>(const URLPattern& other) const { URLPattern 147 extensions/common/url_pattern.cc bool URLPattern::operator==(const URLPattern& other) const { URLPattern 151 extensions/common/url_pattern.cc URLPattern::ParseResult URLPattern::Parse(const std::string& pattern) { URLPattern 250 extensions/common/url_pattern.cc void URLPattern::SetValidSchemes(int valid_schemes) { URLPattern 255 extensions/common/url_pattern.cc void URLPattern::SetHost(const std::string& host) { URLPattern 260 extensions/common/url_pattern.cc void URLPattern::SetMatchAllURLs(bool val) { URLPattern 272 extensions/common/url_pattern.cc void URLPattern::SetMatchSubdomains(bool val) { URLPattern 277 extensions/common/url_pattern.cc bool URLPattern::SetScheme(const std::string& scheme) { URLPattern 288 extensions/common/url_pattern.cc bool URLPattern::IsValidScheme(const std::string& scheme) const { URLPattern 300 extensions/common/url_pattern.cc void URLPattern::SetPath(const std::string& path) { URLPattern 308 extensions/common/url_pattern.cc bool URLPattern::SetPort(const std::string& port) { URLPattern 317 extensions/common/url_pattern.cc bool URLPattern::MatchesURL(const GURL& test) const { URLPattern 341 extensions/common/url_pattern.cc bool URLPattern::MatchesSecurityOrigin(const GURL& test) const { URLPattern 360 extensions/common/url_pattern.cc bool URLPattern::MatchesScheme(const std::string& test) const { URLPattern 367 extensions/common/url_pattern.cc bool URLPattern::MatchesHost(const std::string& host) const { URLPattern 375 extensions/common/url_pattern.cc bool URLPattern::MatchesHost(const GURL& test) const { URLPattern 406 extensions/common/url_pattern.cc bool URLPattern::MatchesPath(const std::string& test) const { URLPattern 415 extensions/common/url_pattern.cc const std::string& URLPattern::GetAsString() const { URLPattern 452 extensions/common/url_pattern.cc bool URLPattern::OverlapsWith(const URLPattern& other) const { URLPattern 463 extensions/common/url_pattern.cc bool URLPattern::Contains(const URLPattern& other) const { URLPattern 472 extensions/common/url_pattern.cc bool URLPattern::MatchesAnyScheme( URLPattern 483 extensions/common/url_pattern.cc bool URLPattern::MatchesAllSchemes( URLPattern 494 extensions/common/url_pattern.cc bool URLPattern::MatchesSecurityOriginHelper(const GURL& test) const { URLPattern 505 extensions/common/url_pattern.cc bool URLPattern::MatchesPortPattern(const std::string& port) const { URLPattern 509 extensions/common/url_pattern.cc std::vector<std::string> URLPattern::GetExplicitSchemes() const { URLPattern 526 extensions/common/url_pattern.cc std::vector<URLPattern> URLPattern::ConvertToExplicitSchemes() const { URLPattern 528 extensions/common/url_pattern.cc std::vector<URLPattern> result; URLPattern 532 extensions/common/url_pattern.cc URLPattern temp = *this; URLPattern 542 extensions/common/url_pattern.cc const char* URLPattern::GetParseResultString( URLPattern 543 extensions/common/url_pattern.cc URLPattern::ParseResult parse_result) { URLPattern 43 extensions/common/url_pattern.h class URLPattern { URLPattern 81 extensions/common/url_pattern.h explicit URLPattern(int valid_schemes); URLPattern 85 extensions/common/url_pattern.h URLPattern(int valid_schemes, const std::string& pattern); URLPattern 87 extensions/common/url_pattern.h URLPattern(); URLPattern 88 extensions/common/url_pattern.h ~URLPattern(); URLPattern 90 extensions/common/url_pattern.h bool operator<(const URLPattern& other) const; URLPattern 91 extensions/common/url_pattern.h bool operator>(const URLPattern& other) const; URLPattern 92 extensions/common/url_pattern.h bool operator==(const URLPattern& other) const; URLPattern 163 extensions/common/url_pattern.h bool OverlapsWith(const URLPattern& other) const; URLPattern 167 extensions/common/url_pattern.h bool Contains(const URLPattern& other) const; URLPattern 173 extensions/common/url_pattern.h std::vector<URLPattern> ConvertToExplicitSchemes() const; URLPattern 175 extensions/common/url_pattern.h static bool EffectiveHostCompare(const URLPattern& a, const URLPattern& b) { URLPattern 184 extensions/common/url_pattern.h bool operator()(const URLPattern& a, const URLPattern& b) const { URLPattern 190 extensions/common/url_pattern.h static const char* GetParseResultString(URLPattern::ParseResult parse_result); URLPattern 244 extensions/common/url_pattern.h typedef std::vector<URLPattern> URLPatternList; URLPattern 32 extensions/common/url_pattern_set.cc out->patterns_ = base::STLSetDifference<std::set<URLPattern> >( URLPattern 43 extensions/common/url_pattern_set.cc std::inserter<std::set<URLPattern> >( URLPattern 54 extensions/common/url_pattern_set.cc std::inserter<std::set<URLPattern> >( URLPattern 96 extensions/common/url_pattern_set.cc URLPatternSet::URLPatternSet(const std::set<URLPattern>& patterns) URLPattern 118 extensions/common/url_pattern_set.cc bool URLPatternSet::AddPattern(const URLPattern& pattern) { URLPattern 141 extensions/common/url_pattern_set.cc bool URLPatternSet::ContainsPattern(const URLPattern& pattern) const { URLPattern 199 extensions/common/url_pattern_set.cc URLPattern pattern(valid_schemes); URLPattern 200 extensions/common/url_pattern_set.cc if (pattern.Parse(patterns[i]) != URLPattern::PARSE_SUCCESS) { URLPattern 211 extensions/common/url_pattern_set.cc pattern.valid_schemes() & ~URLPattern::SCHEME_FILE); URLPattern 25 extensions/common/url_pattern_set.h typedef std::set<URLPattern>::const_iterator const_iterator; URLPattern 26 extensions/common/url_pattern_set.h typedef std::set<URLPattern>::iterator iterator; URLPattern 50 extensions/common/url_pattern_set.h explicit URLPatternSet(const std::set<URLPattern>& patterns); URLPattern 58 extensions/common/url_pattern_set.h const std::set<URLPattern>& patterns() const { return patterns_; } URLPattern 64 extensions/common/url_pattern_set.h bool AddPattern(const URLPattern& pattern); URLPattern 76 extensions/common/url_pattern_set.h bool ContainsPattern(const URLPattern& pattern) const; URLPattern 100 extensions/common/url_pattern_set.h std::set<URLPattern> patterns_; URLPattern 16 extensions/common/url_pattern_set_unittest.cc int schemes = URLPattern::SCHEME_ALL; URLPattern 17 extensions/common/url_pattern_set_unittest.cc set->AddPattern(URLPattern(schemes, pattern)); URLPattern 235 extensions/common/url_pattern_set_unittest.cc set2.Populate(*value, URLPattern::SCHEME_ALL, allow_file_access, &error); URLPattern 239 extensions/common/url_pattern_set_unittest.cc set2.Populate(patterns, URLPattern::SCHEME_ALL, allow_file_access, &error); URLPattern 15 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_HTTP | URLPattern 16 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_HTTPS | URLPattern 17 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_FILE | URLPattern 18 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_FTP | URLPattern 19 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_CHROMEUI | URLPattern 20 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_EXTENSION | URLPattern 21 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_FILESYSTEM; URLPattern 26 extensions/common/url_pattern_unittest.cc URLPattern::ParseResult expected_result; URLPattern 28 extensions/common/url_pattern_unittest.cc { "http", URLPattern::PARSE_ERROR_MISSING_SCHEME_SEPARATOR }, URLPattern 29 extensions/common/url_pattern_unittest.cc { "http:", URLPattern::PARSE_ERROR_WRONG_SCHEME_SEPARATOR }, URLPattern 30 extensions/common/url_pattern_unittest.cc { "http:/", URLPattern::PARSE_ERROR_WRONG_SCHEME_SEPARATOR }, URLPattern 31 extensions/common/url_pattern_unittest.cc { "about://", URLPattern::PARSE_ERROR_WRONG_SCHEME_SEPARATOR }, URLPattern 32 extensions/common/url_pattern_unittest.cc { "http://", URLPattern::PARSE_ERROR_EMPTY_HOST }, URLPattern 33 extensions/common/url_pattern_unittest.cc { "http:///", URLPattern::PARSE_ERROR_EMPTY_HOST }, URLPattern 34 extensions/common/url_pattern_unittest.cc { "http://*foo/bar", URLPattern::PARSE_ERROR_INVALID_HOST_WILDCARD }, URLPattern 35 extensions/common/url_pattern_unittest.cc { "http://foo.*.bar/baz", URLPattern::PARSE_ERROR_INVALID_HOST_WILDCARD }, URLPattern 36 extensions/common/url_pattern_unittest.cc { "http://fo.*.ba:123/baz", URLPattern::PARSE_ERROR_INVALID_HOST_WILDCARD }, URLPattern 37 extensions/common/url_pattern_unittest.cc { "http:/bar", URLPattern::PARSE_ERROR_WRONG_SCHEME_SEPARATOR }, URLPattern 38 extensions/common/url_pattern_unittest.cc { "http://bar", URLPattern::PARSE_ERROR_EMPTY_PATH }, URLPattern 42 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 52 extensions/common/url_pattern_unittest.cc URLPattern::ParseResult expected_result; URLPattern 55 extensions/common/url_pattern_unittest.cc { "http://foo:1234/", URLPattern::PARSE_SUCCESS, "1234" }, URLPattern 56 extensions/common/url_pattern_unittest.cc { "http://foo:1234/bar", URLPattern::PARSE_SUCCESS, "1234" }, URLPattern 57 extensions/common/url_pattern_unittest.cc { "http://*.foo:1234/", URLPattern::PARSE_SUCCESS, "1234" }, URLPattern 58 extensions/common/url_pattern_unittest.cc { "http://*.foo:1234/bar", URLPattern::PARSE_SUCCESS,"1234" }, URLPattern 59 extensions/common/url_pattern_unittest.cc { "http://:1234/", URLPattern::PARSE_SUCCESS, "1234" }, URLPattern 60 extensions/common/url_pattern_unittest.cc { "http://foo:/", URLPattern::PARSE_ERROR_INVALID_PORT, "*" }, URLPattern 61 extensions/common/url_pattern_unittest.cc { "http://foo:*/", URLPattern::PARSE_SUCCESS, "*" }, URLPattern 62 extensions/common/url_pattern_unittest.cc { "http://*.foo:/", URLPattern::PARSE_ERROR_INVALID_PORT, "*" }, URLPattern 63 extensions/common/url_pattern_unittest.cc { "http://foo:com/", URLPattern::PARSE_ERROR_INVALID_PORT, "*" }, URLPattern 64 extensions/common/url_pattern_unittest.cc { "http://foo:123456/", URLPattern::PARSE_ERROR_INVALID_PORT, "*" }, URLPattern 65 extensions/common/url_pattern_unittest.cc { "http://foo:80:80/monkey", URLPattern::PARSE_ERROR_INVALID_PORT, "*" }, URLPattern 66 extensions/common/url_pattern_unittest.cc { "file://foo:1234/bar", URLPattern::PARSE_SUCCESS, "*" }, URLPattern 67 extensions/common/url_pattern_unittest.cc { "chrome://foo:1234/bar", URLPattern::PARSE_ERROR_INVALID_PORT, "*" }, URLPattern 70 extensions/common/url_pattern_unittest.cc { "http://*/:1234", URLPattern::PARSE_SUCCESS, "*" }, URLPattern 71 extensions/common/url_pattern_unittest.cc { "http://*.foo/bar:1234", URLPattern::PARSE_SUCCESS, "*" }, URLPattern 72 extensions/common/url_pattern_unittest.cc { "http://foo/bar:1234/path", URLPattern::PARSE_SUCCESS,"*" }, URLPattern 76 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 88 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 89 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*/*")); URLPattern 104 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 105 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("https://*/foo*")); URLPattern 121 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 122 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, URLPattern 142 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 143 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file:///foo?bar\\*baz")); URLPattern 155 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 156 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://127.0.0.1/*")); URLPattern 167 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 169 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.0.0.1/*")); URLPattern 181 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 184 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, URLPattern 199 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 200 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("chrome://favicon/*")); URLPattern 213 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 214 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("*://*/*")); URLPattern 231 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 232 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("<all_urls>")); URLPattern 249 extensions/common/url_pattern_unittest.cc URLPattern pattern2(kAllSchemes); URLPattern 263 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 264 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("<all_urls>")); URLPattern 303 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 304 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, URLPattern 313 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 314 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("data:*")); URLPattern 320 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 321 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file:///foo*")); URLPattern 336 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 337 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file://foo*")); URLPattern 352 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 353 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("file://localhost/foo*")); URLPattern 369 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 370 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, URLPattern 388 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 389 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, URLPattern 406 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_EXTENSION); URLPattern 407 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, URLPattern 444 extensions/common/url_pattern_unittest.cc URLPattern pattern(URLPattern::SCHEME_ALL); URLPattern 445 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, URLPattern 453 extensions/common/url_pattern_unittest.cc testing::AssertionResult Overlaps(const URLPattern& pattern1, URLPattern 454 extensions/common/url_pattern_unittest.cc const URLPattern& pattern2) { URLPattern 470 extensions/common/url_pattern_unittest.cc URLPattern pattern1(kAllSchemes, "http://www.google.com/foo/*"); URLPattern 471 extensions/common/url_pattern_unittest.cc URLPattern pattern2(kAllSchemes, "https://www.google.com/foo/*"); URLPattern 472 extensions/common/url_pattern_unittest.cc URLPattern pattern3(kAllSchemes, "http://*.google.com/foo/*"); URLPattern 473 extensions/common/url_pattern_unittest.cc URLPattern pattern4(kAllSchemes, "http://*.yahooo.com/foo/*"); URLPattern 474 extensions/common/url_pattern_unittest.cc URLPattern pattern5(kAllSchemes, "http://www.yahooo.com/bar/*"); URLPattern 475 extensions/common/url_pattern_unittest.cc URLPattern pattern6(kAllSchemes, URLPattern 477 extensions/common/url_pattern_unittest.cc URLPattern pattern7(kAllSchemes, "file:///*"); URLPattern 478 extensions/common/url_pattern_unittest.cc URLPattern pattern8(kAllSchemes, "*://*/*"); URLPattern 479 extensions/common/url_pattern_unittest.cc URLPattern pattern9(URLPattern::SCHEME_HTTPS, "*://*/*"); URLPattern 480 extensions/common/url_pattern_unittest.cc URLPattern pattern10(kAllSchemes, "<all_urls>"); URLPattern 501 extensions/common/url_pattern_unittest.cc URLPattern pattern11(kAllSchemes, "http://example.com/*"); URLPattern 502 extensions/common/url_pattern_unittest.cc URLPattern pattern12(kAllSchemes, "*://example.com/*"); URLPattern 503 extensions/common/url_pattern_unittest.cc URLPattern pattern13(kAllSchemes, "*://example.com/foo/*"); URLPattern 504 extensions/common/url_pattern_unittest.cc URLPattern pattern14(kAllSchemes, "*://google.com/*"); URLPattern 516 extensions/common/url_pattern_unittest.cc URLPatternList all_urls(URLPattern( URLPattern 520 extensions/common/url_pattern_unittest.cc URLPatternList all_schemes(URLPattern( URLPattern 524 extensions/common/url_pattern_unittest.cc URLPatternList monkey(URLPattern( URLPattern 525 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS | URLPattern 526 extensions/common/url_pattern_unittest.cc URLPattern::SCHEME_FTP, URLPattern 549 extensions/common/url_pattern_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 550 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse(pattern_str)); URLPattern 562 extensions/common/url_pattern_unittest.cc URLPattern pattern1(kAllSchemes); URLPattern 563 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern1.Parse(pattern_str1)); URLPattern 564 extensions/common/url_pattern_unittest.cc URLPattern pattern2(kAllSchemes); URLPattern 565 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern2.Parse(pattern_str2)); URLPattern 660 extensions/common/url_pattern_unittest.cc URLPattern pattern1(URLPattern::SCHEME_ALL); URLPattern 661 extensions/common/url_pattern_unittest.cc URLPattern pattern2(URLPattern::SCHEME_ALL); URLPattern 671 extensions/common/url_pattern_unittest.cc URLPattern pattern1(URLPattern::SCHEME_ALL); URLPattern 672 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern1.Parse("http://aa.com/*")); URLPattern 673 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern1.Parse("http://bb.com/*")); URLPattern 678 extensions/common/url_pattern_unittest.cc URLPattern pattern2(URLPattern::SCHEME_ALL, URLPattern::kAllUrlsPattern); URLPattern 679 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern2.Parse("http://aa.com/*")); URLPattern 685 extensions/common/url_pattern_unittest.cc URLPattern pattern3(URLPattern::SCHEME_ALL, "http://aa.com/*"); URLPattern 686 extensions/common/url_pattern_unittest.cc EXPECT_EQ(URLPattern::PARSE_SUCCESS, pattern3.Parse("http://aa.com:88/*")); URLPattern 692 extensions/common/url_pattern_unittest.cc testing::AssertionResult NeitherContains(const URLPattern& a, URLPattern 693 extensions/common/url_pattern_unittest.cc const URLPattern& b) { URLPattern 706 extensions/common/url_pattern_unittest.cc testing::AssertionResult StrictlyContains(const URLPattern& a, URLPattern 707 extensions/common/url_pattern_unittest.cc const URLPattern& b) { URLPattern 721 extensions/common/url_pattern_unittest.cc URLPattern pattern1(kAllSchemes, "http://www.google.com/foo/*"); URLPattern 722 extensions/common/url_pattern_unittest.cc URLPattern pattern2(kAllSchemes, "https://www.google.com/foo/*"); URLPattern 723 extensions/common/url_pattern_unittest.cc URLPattern pattern3(kAllSchemes, "http://*.google.com/foo/*"); URLPattern 724 extensions/common/url_pattern_unittest.cc URLPattern pattern4(kAllSchemes, "http://*.yahooo.com/foo/*"); URLPattern 725 extensions/common/url_pattern_unittest.cc URLPattern pattern5(kAllSchemes, "http://www.yahooo.com/bar/*"); URLPattern 726 extensions/common/url_pattern_unittest.cc URLPattern pattern6(kAllSchemes, "http://www.yahooo.com/bar/baz/*"); URLPattern 727 extensions/common/url_pattern_unittest.cc URLPattern pattern7(kAllSchemes, "file:///*"); URLPattern 728 extensions/common/url_pattern_unittest.cc URLPattern pattern8(kAllSchemes, "*://*/*"); URLPattern 729 extensions/common/url_pattern_unittest.cc URLPattern pattern9(URLPattern::SCHEME_HTTPS, "*://*/*"); URLPattern 730 extensions/common/url_pattern_unittest.cc URLPattern pattern10(kAllSchemes, "<all_urls>"); URLPattern 731 extensions/common/url_pattern_unittest.cc URLPattern pattern11(kAllSchemes, "http://example.com/*"); URLPattern 732 extensions/common/url_pattern_unittest.cc URLPattern pattern12(kAllSchemes, "*://example.com/*"); URLPattern 733 extensions/common/url_pattern_unittest.cc URLPattern pattern13(kAllSchemes, "*://example.com/foo/*"); URLPattern 31 extensions/common/user_script.cc kValidUserScriptSchemes = URLPattern::SCHEME_CHROMEUI | URLPattern 32 extensions/common/user_script.cc URLPattern::SCHEME_HTTP | URLPattern 33 extensions/common/user_script.cc URLPattern::SCHEME_HTTPS | URLPattern 34 extensions/common/user_script.cc URLPattern::SCHEME_FILE | URLPattern 35 extensions/common/user_script.cc URLPattern::SCHEME_FTP URLPattern 50 extensions/common/user_script.cc return URLPattern::SCHEME_ALL; URLPattern 54 extensions/common/user_script.cc valid_schemes &= ~URLPattern::SCHEME_CHROMEUI; URLPattern 79 extensions/common/user_script.cc void UserScript::add_url_pattern(const URLPattern& pattern) { URLPattern 83 extensions/common/user_script.cc void UserScript::add_exclude_url_pattern(const URLPattern& pattern) { URLPattern 214 extensions/common/user_script.cc URLPattern pattern(kValidUserScriptSchemes); URLPattern 215 extensions/common/user_script.cc URLPattern::ParseResult result = pattern.Parse(pattern_str); URLPattern 216 extensions/common/user_script.cc CHECK(URLPattern::PARSE_SUCCESS == result) << URLPattern 217 extensions/common/user_script.cc URLPattern::GetParseResultString(result) << " " << pattern_str.c_str(); URLPattern 156 extensions/common/user_script.h void add_url_pattern(const URLPattern& pattern); URLPattern 160 extensions/common/user_script.h void add_exclude_url_pattern(const URLPattern& pattern); URLPattern 14 extensions/common/user_script_unittest.cc URLPattern::SCHEME_HTTP | URLPattern 15 extensions/common/user_script_unittest.cc URLPattern::SCHEME_HTTPS | URLPattern 16 extensions/common/user_script_unittest.cc URLPattern::SCHEME_FILE | URLPattern 17 extensions/common/user_script_unittest.cc URLPattern::SCHEME_FTP | URLPattern 18 extensions/common/user_script_unittest.cc URLPattern::SCHEME_CHROMEUI; URLPattern 76 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 77 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*/foo*")); URLPattern 90 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 91 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); URLPattern 94 extensions/common/user_script_unittest.cc URLPattern exclude(kAllSchemes); URLPattern 95 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, exclude.Parse("*://*/*business*")); URLPattern 106 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 107 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); URLPattern 120 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 121 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); URLPattern 135 extensions/common/user_script_unittest.cc URLPattern pattern(kAllSchemes); URLPattern 136 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS,pattern.Parse("http://www.google.com/*")); URLPattern 162 extensions/common/user_script_unittest.cc URLPattern pattern1(kAllSchemes); URLPattern 163 extensions/common/user_script_unittest.cc URLPattern pattern2(kAllSchemes); URLPattern 164 extensions/common/user_script_unittest.cc URLPattern exclude1(kAllSchemes); URLPattern 165 extensions/common/user_script_unittest.cc URLPattern exclude2(kAllSchemes); URLPattern 166 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern1.Parse("http://*/foo*")); URLPattern 167 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern2.Parse("http://bar/baz*")); URLPattern 168 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, exclude1.Parse("*://*/*bar")); URLPattern 169 extensions/common/user_script_unittest.cc ASSERT_EQ(URLPattern::PARSE_SUCCESS, exclude2.Parse("https://*/*"));