Home
last modified time | relevance | path

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

/external/chromium_org/content/browser/
Dchild_process_security_policy_unittest.cc159 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 …]
Dchild_process_security_policy_impl.cc170 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()
Dchild_process_security_policy_impl.h135 bool CanRequestURL(int child_id, const GURL& url); in NON_EXPORTED_BASE()
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_unittest.cc204 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()
Drender_process_host_impl.cc1684 if (non_web_url_in_guest || !policy->CanRequestURL(rph->GetID(), *url)) { in FilterURL()
/external/chromium_org/content/browser/renderer_host/media/
Ddevice_request_message_filter.cc126 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( in OnGetSources()
Dmedia_stream_dispatcher_host.cc243 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( in IsURLAllowed()
/external/chromium_org/content/browser/speech/
Dspeech_recognition_dispatcher_host.cc80 !ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( in OnStartRequest()
/external/chromium_org/content/browser/loader/
Dresource_loader.cc206 CanRequestURL(info->GetChildID(), new_url)) { in OnReceivedRedirect()
Dresource_dispatcher_host_impl.cc212 if (!policy->CanRequestURL(child_id, request_data.url)) { in ShouldServiceRequest()
522 CanRequestURL(child_id, url)) { in BeginDownload()