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

Unified Diff: content/browser/content_browser_client.h

Issue 7328029: Use process-per-app-instance for hosted apps without background permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix incognito function. Created 9 years, 5 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 | « content/browser/browsing_instance.cc ('k') | content/browser/site_instance.cc » ('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 84ddae1a056a12df1c630a1a6d4d67e281acbfab..5d55645770e67d2dc45e50ed26cffc2ff399935b 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -86,6 +86,11 @@ class ContentBrowserClient {
// group different url schemes in the same SiteInstance.
virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) = 0;
+ // Returns whether all instances of the specified effective URL should be
+ // rendered by the same process, rather than using process-per-site-instance.
+ virtual bool ShouldUseProcessPerSite(Profile* profile,
+ const GURL& effective_url) = 0;
+
// Returns whether a specified URL is to be considered the same as any
// SiteInstance.
virtual bool IsURLSameAsAnySiteInstance(const GURL& url) = 0;
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/site_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698