Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Unified Diff: content/browser/child_process_security_policy_impl.cc

Issue 1868763002: Remove URLRequest::IsHandledProtocol and IsHandledURL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase (needs fixing) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 66a4c3add715ddab6d56d994ed22f6d496124368..abea41fda9ca93dab998bf8c02f47b91c28acbc4 100644
--- a/content/browser/child_process_security_policy_impl.cc
+++ b/content/browser/child_process_security_policy_impl.cc
@@ -651,8 +651,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);
}
bool ChildProcessSecurityPolicyImpl::CanCommitURL(int child_id,
« no previous file with comments | « components/omnibox/browser/test_scheme_classifier.cc ('k') | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698