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

Unified Diff: content/browser/content_browser_client.h

Issue 8033001: Delegate decision what site instances can be rendered in what process to chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 3 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698