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..dbc982d25ec43a4ec977c1a50cc842cfd9723d6f 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); |
@@ -527,6 +519,9 @@ class CONTENT_EXPORT ContentBrowserClient { |
// This is when it can optionally add a delegate. |
virtual void ResourceDispatcherHostCreated() {} |
+ // Notifies the embedder that the ResourceDispatcherHost is being destroyed. |
+ virtual void ResourceDispatcherHostDestroyed() {} |
jam
2016/08/10 00:19:26
don't need this
|
+ |
// Allows the embedder to return a delegate for the SpeechRecognitionManager. |
// The delegate will be owned by the manager. It's valid to return nullptr. |
virtual SpeechRecognitionManagerDelegate* |