CanRequestURL 618 content/browser/child_process_security_policy_impl.cc return CanRequestURL(child_id, child_url); CanRequestURL 644 content/browser/child_process_security_policy_impl.cc return state->second->CanRequestURL(url); CanRequestURL 135 content/browser/child_process_security_policy_impl.h bool CanRequestURL(int child_id, const GURL& url); CanRequestURL 160 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("http://www.google.com/"))); CanRequestURL 161 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("https://www.paypal.com/"))); CanRequestURL 162 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("ftp://ftp.gnu.org/"))); CanRequestURL 163 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("data:text/html,<b>Hi</b>"))); CanRequestURL 164 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, CanRequestURL 166 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL( CanRequestURL 170 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, CanRequestURL 172 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, CanRequestURL 184 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("about:blank"))); CanRequestURL 185 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("about:BlAnK"))); CanRequestURL 186 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("aBouT:BlAnK"))); CanRequestURL 187 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("aBouT:blank"))); CanRequestURL 189 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("about:memory"))); CanRequestURL 190 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("about:crash"))); CanRequestURL 191 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("about:cache"))); CanRequestURL 192 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("about:hang"))); CanRequestURL 194 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("aBoUt:memory"))); CanRequestURL 195 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("about:CrASh"))); CanRequestURL 196 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("abOuT:cAChe"))); CanRequestURL 200 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("about:crash"))); CanRequestURL 205 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, chrome_url)); CanRequestURL 216 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("javascript:alert('xss')"))); CanRequestURL 218 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("javascript:alert('xss')"))); CanRequestURL 230 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("asdf:rockers"))); CanRequestURL 234 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("asdf:rockers"))); CanRequestURL 238 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("asdf:rockers"))); CanRequestURL 250 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("file:///etc/passwd"))); CanRequestURL 252 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("file:///etc/passwd"))); CanRequestURL 257 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("file:///etc/passwd"))); CanRequestURL 268 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, CanRequestURL 270 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, CanRequestURL 272 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, GURL("file:///etc/passwd"))); CanRequestURL 273 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL( CanRequestURL 278 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, CanRequestURL 280 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL("file:///etc/passwd"))); CanRequestURL 293 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, icon_url)); CanRequestURL 294 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, sensitive_url)); CanRequestURL 297 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, icon_url)); CanRequestURL 298 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, sensitive_url)); CanRequestURL 301 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, icon_url)); CanRequestURL 302 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, sensitive_url)); CanRequestURL 606 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, url)); CanRequestURL 609 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, url)); CanRequestURL 627 content/browser/child_process_security_policy_unittest.cc EXPECT_TRUE(p->CanRequestURL(kRendererID, url)); CanRequestURL 638 content/browser/child_process_security_policy_unittest.cc EXPECT_FALSE(p->CanRequestURL(kRendererID, url)); CanRequestURL 212 content/browser/loader/resource_dispatcher_host_impl.cc if (!policy->CanRequestURL(child_id, request_data.url)) { CanRequestURL 521 content/browser/loader/resource_dispatcher_host_impl.cc CanRequestURL(child_id, url)) { CanRequestURL 205 content/browser/loader/resource_loader.cc CanRequestURL(info->GetChildID(), new_url)) { CanRequestURL 141 content/browser/renderer_host/media/device_request_message_filter.cc if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( CanRequestURL 229 content/browser/renderer_host/media/media_stream_dispatcher_host.cc if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( CanRequestURL 1676 content/browser/renderer_host/render_process_host_impl.cc if (non_web_url_in_guest || !policy->CanRequestURL(rph->GetID(), *url)) { CanRequestURL 203 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_FALSE(policy->CanRequestURL(id, highlighted_file_url)); CanRequestURL 205 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_TRUE(policy->CanRequestURL(id, dragged_file_url)); CanRequestURL 207 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_FALSE(policy->CanRequestURL(id, sensitive_file_url)); CanRequestURL 85 content/browser/speech/input_tag_speech_dispatcher_host.cc !ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( CanRequestURL 81 content/browser/speech/speech_recognition_dispatcher_host.cc !ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL(