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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 2182633007: Avoid using ContentBrowserClient::IsIllegalOrigin in ResourceDispatcherHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the IsIllegalOrigin function from ContentBrowserClient Created 4 years, 4 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/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index e78e78a52091046836870a95495b54b0e204a8f9..ac7be8809926cbe7843338e0057c6c34f477a767 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -72,12 +72,6 @@ bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host,
return true;
}
-bool ContentBrowserClient::IsIllegalOrigin(ResourceContext* resource_context,
- int child_process_id,
- const GURL& origin) {
- return false;
-}
-
bool ContentBrowserClient::ShouldAllowOpenURL(SiteInstance* site_instance,
const GURL& url) {
return true;

Powered by Google App Engine
This is Rietveld 408576698