Searched refs:CanRequestURL (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/content/browser/ |
D | child_process_security_policy_unittest.cc | 160 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 …]
|
D | child_process_security_policy_impl.cc | 171 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()
|
D | child_process_security_policy_impl.h | 132 bool CanRequestURL(int child_id, const GURL& url); in NON_EXPORTED_BASE()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_view_host_unittest.cc | 211 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()
|
D | render_view_host_impl.cc | 2052 if (non_web_url_in_guest || !policy->CanRequestURL(process->GetID(), *url)) { in FilterURL()
|
/external/chromium_org/content/browser/loader/ |
D | resource_loader.cc | 209 CanRequestURL(info->GetChildID(), new_url)) { in OnReceivedRedirect()
|
D | resource_dispatcher_host_impl.cc | 207 if (!policy->CanRequestURL(child_id, request_data.url)) { in ShouldServiceRequest() 507 CanRequestURL(child_id, url)) { in BeginDownload()
|