Index: content/browser/content_browser_client.h |
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h |
index 787273e9d135e100d26339c99cf22390285766ce..faabda4b1bed82154e0c56236fd3177b8363d7f2 100644 |
--- a/content/browser/content_browser_client.h |
+++ b/content/browser/content_browser_client.h |
@@ -23,6 +23,7 @@ class GURL; |
class MHTMLGenerationManager; |
class PluginProcessHost; |
class QuotaPermissionContext; |
+class RenderProcessHost; |
class RenderViewHost; |
class ResourceDispatcherHost; |
class SSLCertErrorHandler; |
@@ -124,6 +125,11 @@ class ContentBrowserClient { |
// SiteInstance. |
virtual bool IsURLSameAsAnySiteInstance(const GURL& url) = 0; |
+ // Returns whether a new view for a given |site_url| can be launched in a |
+ // given |process_host|. |
+ virtual bool IsSuitableHost(RenderProcessHost* process_host, |
+ const GURL& site_url) = 0; |
+ |
// See CharacterEncoding's comment. |
virtual std::string GetCanonicalEncodingNameByAliasName( |
const std::string& alias_name) = 0; |