Chromium Code Reviews| Index: content/browser/child_process_security_policy_impl.cc |
| diff --git a/content/browser/child_process_security_policy_impl.cc b/content/browser/child_process_security_policy_impl.cc |
| index 34bad5ad0e55ab8d4a4ce2b2b788f511271de1e8..be856ed42fa4c26bc994b7197230d48c8bf58ec1 100644 |
| --- a/content/browser/child_process_security_policy_impl.cc |
| +++ b/content/browser/child_process_security_policy_impl.cc |
| @@ -612,8 +612,7 @@ bool ChildProcessSecurityPolicyImpl::CanRequestURL( |
| return true; |
| // Also allow URLs destined for ShellExecute and not the browser itself. |
| - return !GetContentClient()->browser()->IsHandledURL(url) && |
| - !net::URLRequest::IsHandledURL(url); |
| + return !GetContentClient()->browser()->IsHandledURL(url); |
|
Charlie Reis
2016/04/28 21:45:35
This seems like it depends on the content/ embedde
mgersh
2016/04/28 22:30:13
Can you point me to an explanation of what the sec
Charlie Reis
2016/04/29 00:14:44
For reference, CanRequestURL is used in ResourceDi
mmenke
2016/04/29 00:27:24
If we're on the IOTHread, we could call url_reques
mmenke
2016/04/29 00:32:15
Should also note that doesn't work for all consume
|
| } |
| bool ChildProcessSecurityPolicyImpl::CanCommitURL(int child_id, |