Home
last modified time | relevance | path

Searched refs:CanRequestURL (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/content/browser/
Dchild_process_security_policy_unittest.cc160 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("http://www.google.com/"))); in TEST_F()
161 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("https://www.paypal.com/"))); in TEST_F()
162 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("ftp://ftp.gnu.org/"))); in TEST_F()
163 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("data:text/html,<b>Hi</b>"))); in TEST_F()
164 EXPECT_TRUE(p->CanRequestURL(kRendererID, in TEST_F()
166 EXPECT_TRUE(p->CanRequestURL( in TEST_F()
170 EXPECT_FALSE(p->CanRequestURL(kRendererID, in TEST_F()
172 EXPECT_FALSE(p->CanRequestURL(kRendererID, in TEST_F()
184 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("about:blank"))); in TEST_F()
185 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("about:BlAnK"))); in TEST_F()
[all …]
Dchild_process_security_policy_impl.cc171 bool CanRequestURL(const GURL& url) { in CanRequestURL() function in content::ChildProcessSecurityPolicyImpl::SecurityState
589 bool ChildProcessSecurityPolicyImpl::CanRequestURL( in CanRequestURL() function in content::ChildProcessSecurityPolicyImpl
608 return CanRequestURL(child_id, child_url); in CanRequestURL()
634 return state->second->CanRequestURL(url); in CanRequestURL()
Dchild_process_security_policy_impl.h132 bool CanRequestURL(int child_id, const GURL& url); in NON_EXPORTED_BASE()
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_unittest.cc211 EXPECT_FALSE(policy->CanRequestURL(id, highlighted_file_url)); in TEST_F()
213 EXPECT_TRUE(policy->CanRequestURL(id, dragged_file_url)); in TEST_F()
215 EXPECT_FALSE(policy->CanRequestURL(id, sensitive_file_url)); in TEST_F()
Drender_view_host_impl.cc2052 if (non_web_url_in_guest || !policy->CanRequestURL(process->GetID(), *url)) { in FilterURL()
/external/chromium_org/content/browser/loader/
Dresource_loader.cc209 CanRequestURL(info->GetChildID(), new_url)) { in OnReceivedRedirect()
Dresource_dispatcher_host_impl.cc207 if (!policy->CanRequestURL(child_id, request_data.url)) { in ShouldServiceRequest()
507 CanRequestURL(child_id, url)) { in BeginDownload()