diff options
Diffstat (limited to 'content/public/browser/content_browser_client.h')
-rw-r--r-- | content/public/browser/content_browser_client.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h index 8bef6ca..cc95b74 100644 --- a/content/public/browser/content_browser_client.h +++ b/content/public/browser/content_browser_client.h @@ -235,6 +235,10 @@ class CONTENT_EXPORT ContentBrowserClient { virtual bool IsSuitableHost(RenderProcessHost* process_host, const GURL& site_url); + // Returns whether a new view for a new site instance can be added to a + // given |process_host|. + virtual bool MayReuseHost(RenderProcessHost* process_host); + // Returns whether a new process should be created or an existing one should // be reused based on the URL we want to load. This should return false, // unless there is a good reason otherwise. @@ -631,7 +635,7 @@ class CONTENT_EXPORT ContentBrowserClient { // if the default cookie store should be used // This is called on the IO thread. virtual net::CookieStore* OverrideCookieStoreForRenderProcess( - int render_process_id_); + int render_process_id); #if defined(VIDEO_HOLE) // Allows an embedder to provide its own ExternalVideoSurfaceContainer |