Searched refs:CanRequestURL (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/content/browser/ |
D | child_process_security_policy_unittest.cc | 159 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("http://www.google.com/"))); in TEST_F() 160 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("https://www.paypal.com/"))); in TEST_F() 161 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("ftp://ftp.gnu.org/"))); in TEST_F() 162 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("data:text/html,<b>Hi</b>"))); in TEST_F() 163 EXPECT_TRUE(p->CanRequestURL(kRendererID, in TEST_F() 165 EXPECT_TRUE(p->CanRequestURL( in TEST_F() 169 EXPECT_FALSE(p->CanRequestURL(kRendererID, in TEST_F() 171 EXPECT_FALSE(p->CanRequestURL(kRendererID, in TEST_F() 183 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("about:blank"))); in TEST_F() 184 EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("about:BlAnK"))); in TEST_F() [all …]
|
D | child_process_security_policy_impl.cc | 170 bool CanRequestURL(const GURL& url) { in CanRequestURL() function in content::ChildProcessSecurityPolicyImpl::SecurityState 598 bool ChildProcessSecurityPolicyImpl::CanRequestURL( in CanRequestURL() function in content::ChildProcessSecurityPolicyImpl 617 return CanRequestURL(child_id, child_url); in CanRequestURL() 643 return state->second->CanRequestURL(url); in CanRequestURL()
|
D | child_process_security_policy_impl.h | 135 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 | 204 EXPECT_FALSE(policy->CanRequestURL(id, highlighted_file_url)); in TEST_F() 206 EXPECT_TRUE(policy->CanRequestURL(id, dragged_file_url)); in TEST_F() 208 EXPECT_FALSE(policy->CanRequestURL(id, sensitive_file_url)); in TEST_F()
|
D | render_process_host_impl.cc | 1684 if (non_web_url_in_guest || !policy->CanRequestURL(rph->GetID(), *url)) { in FilterURL()
|
/external/chromium_org/content/browser/renderer_host/media/ |
D | device_request_message_filter.cc | 126 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( in OnGetSources()
|
D | media_stream_dispatcher_host.cc | 243 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( in IsURLAllowed()
|
/external/chromium_org/content/browser/speech/ |
D | speech_recognition_dispatcher_host.cc | 80 !ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( in OnStartRequest()
|
/external/chromium_org/content/browser/loader/ |
D | resource_loader.cc | 206 CanRequestURL(info->GetChildID(), new_url)) { in OnReceivedRedirect()
|
D | resource_dispatcher_host_impl.cc | 212 if (!policy->CanRequestURL(child_id, request_data.url)) { in ShouldServiceRequest() 522 CanRequestURL(child_id, url)) { in BeginDownload()
|