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

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

Issue 2222723002: Avoid calling into the ContentBrowserClient interface from ResourceDispatcherHostImpl to determine … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt to fix 64 bit windows redness 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 1726f1a179f65c4dec88dc4298e85290897a4476..cfd768e2fa6315641a3dcd9980574fe129fb2b27 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