Home
last modified time | relevance | path

Searched refs:PARSE_SUCCESS (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/extensions/common/
Durl_pattern_unittest.cc55 { "http://foo:1234/", URLPattern::PARSE_SUCCESS, "1234" }, in TEST()
56 { "http://foo:1234/bar", URLPattern::PARSE_SUCCESS, "1234" }, in TEST()
57 { "http://*.foo:1234/", URLPattern::PARSE_SUCCESS, "1234" }, in TEST()
58 { "http://*.foo:1234/bar", URLPattern::PARSE_SUCCESS,"1234" }, in TEST()
59 { "http://:1234/", URLPattern::PARSE_SUCCESS, "1234" }, in TEST()
61 { "http://foo:*/", URLPattern::PARSE_SUCCESS, "*" }, in TEST()
66 { "file://foo:1234/bar", URLPattern::PARSE_SUCCESS, "*" }, in TEST()
70 { "http://*/:1234", URLPattern::PARSE_SUCCESS, "*" }, in TEST()
71 { "http://*.foo/bar:1234", URLPattern::PARSE_SUCCESS, "*" }, in TEST()
72 { "http://foo/bar:1234/path", URLPattern::PARSE_SUCCESS,"*" }, in TEST()
[all …]
Duser_script_unittest.cc77 ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*/foo*")); in TEST()
91 ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); in TEST()
95 ASSERT_EQ(URLPattern::PARSE_SUCCESS, exclude.Parse("*://*/*business*")); in TEST()
107 ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); in TEST()
121 ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern.Parse("http://*.nytimes.com/*")); in TEST()
136 ASSERT_EQ(URLPattern::PARSE_SUCCESS,pattern.Parse("http://www.google.com/*")); in TEST()
166 ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern1.Parse("http://*/foo*")); in TEST()
167 ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern2.Parse("http://bar/baz*")); in TEST()
168 ASSERT_EQ(URLPattern::PARSE_SUCCESS, exclude1.Parse("*://*/*bar")); in TEST()
169 ASSERT_EQ(URLPattern::PARSE_SUCCESS, exclude2.Parse("https://*/*")); in TEST()
Durl_pattern.cc131 if (PARSE_SUCCESS != Parse(pattern)) in URLPattern()
159 return PARSE_SUCCESS; in Parse()
246 return PARSE_SUCCESS; in Parse()
Durl_pattern.h67 PARSE_SUCCESS = 0, enumerator
Durl_pattern_set.cc200 if (pattern.Parse(patterns[i]) != URLPattern::PARSE_SUCCESS) { in Populate()
/external/chromium/chrome/common/extensions/
Durl_pattern_unittest.cc61 { "http://*/:1234", URLPattern::PARSE_SUCCESS }, in TEST()
62 { "http://*.foo/bar:1234", URLPattern::PARSE_SUCCESS }, in TEST()
63 { "http://foo/bar:1234/path", URLPattern::PARSE_SUCCESS }, in TEST()
70 EXPECT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
87 EXPECT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
104 EXPECT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
120 EXPECT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
138 EXPECT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
152 EXPECT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
165 EXPECT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
[all …]
Duser_script_unittest.cc74 ASSERT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
90 ASSERT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
120 ASSERT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
122 ASSERT_EQ(URLPattern::PARSE_SUCCESS, in TEST()
Durl_pattern.cc95 if (PARSE_SUCCESS != Parse(pattern, PARSE_STRICT)) in URLPattern()
114 return PARSE_SUCCESS; in Parse()
186 return PARSE_SUCCESS; in Parse()
Durl_pattern.h103 PARSE_SUCCESS = 0, enumerator
Dextension_messages.cc100 return URLPattern::PARSE_SUCCESS == p->Parse(spec, URLPattern::PARSE_LENIENT); in Read()
Duser_script.cc196 CHECK(URLPattern::PARSE_SUCCESS == in Unpickle()
/external/chromium_org/chrome/common/extensions/
Dweb_accessible_resources_handler.cc81 if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) { in Parse()
Dwebview_handler.cc94 if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) { in Parse()
/external/chromium_org/chrome/browser/extensions/
Dactive_tab_permission_granter.cc50 URLPattern::PARSE_SUCCESS) { in GrantIfRequested()
Dwebstore_inline_installer.cc211 if (parse_result != URLPattern::PARSE_SUCCESS) { in IsRequestorURLInVerifiedSite()
Duser_script_master.cc125 if (URLPattern::PARSE_SUCCESS != pattern.Parse(value)) in ParseMetadataHeader()
130 if (URLPattern::PARSE_SUCCESS != exclude.Parse(value)) in ParseMetadataHeader()
Dpolicy_handlers.cc226 if (pattern.Parse(url_pattern_string) != URLPattern::PARSE_SUCCESS) { in CheckPolicySettings()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dnative_messaging_host_manifest.cc118 if (result != URLPattern::PARSE_SUCCESS) { in Parse()
/external/chromium_org/extensions/common/manifest_handlers/
Dsandboxed_page_info.cc81 if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) { in Parse()
/external/chromium_org/chrome/browser/extensions/api/content_settings/
Dcontent_settings_helpers.cc66 if (result != URLPattern::PARSE_SUCCESS) { in ParseExtensionPattern()
/external/chromium_org/chrome/common/extensions/api/url_handlers/
Durl_handlers_parser.cc122 if (pattern.Parse(str_pattern) != URLPattern::PARSE_SUCCESS) { in ParseUrlHandler()
/external/chromium_org/chrome/browser/nacl_host/
Dnacl_browser_delegate_impl.cc92 if (pattern.Parse(*iter) == URLPattern::PARSE_SUCCESS) { in SetDebugPatterns()
/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_api_helpers.cc140 if (URLPattern::PARSE_SUCCESS != parse_result) { in UnpackPermissionSet()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dcontent_scripts_handler.cc143 if (parse_result != URLPattern::PARSE_SUCCESS) { in LoadUserScriptFromDictionary()
201 if (parse_result != URLPattern::PARSE_SUCCESS) { in LoadUserScriptFromDictionary()
Dexternally_connectable.cc109 if (pattern.Parse(*it) != URLPattern::PARSE_SUCCESS) { in FromValue()

12