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

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

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.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 6c7f8e6fb4a602db4b5edb4926b353f918085362..6117e54fc696e3e5b44415e2efe871bf1e3839b1 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -231,14 +231,6 @@ class CONTENT_EXPORT ContentBrowserClient {
// This is called on the UI thread.
virtual bool CanCommitURL(RenderProcessHost* process_host, const GURL& url);
- // Returns true if no URL within |origin| is allowed to commit in the given
- // process. Must return false if there exists at least one URL in |origin|
- // that is allowed to commit.
- // This is called on the IO thread.
- virtual bool IsIllegalOrigin(ResourceContext* resource_context,
- int child_process_id,
- const GURL& origin);
-
// Returns whether a URL should be allowed to open from a specific context.
// This also applies in cases where the new URL will open in another process.
virtual bool ShouldAllowOpenURL(SiteInstance* site_instance, const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698