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

Unified Diff: content/browser/browsing_instance.cc

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
Index: content/browser/browsing_instance.cc
diff --git a/content/browser/browsing_instance.cc b/content/browser/browsing_instance.cc
index 7739d42e5fa0c3a790ccc751922f72c5f457d65a..34bfa5045ab1751ed1a8154afeb82ca171fdc9d0 100644
--- a/content/browser/browsing_instance.cc
+++ b/content/browser/browsing_instance.cc
@@ -37,7 +37,8 @@ bool BrowsingInstance::ShouldUseProcessPerSite(const GURL& url) {
// process creation logic in RenderProcessHost, so we do not need to worry
// about it here.
- if (url.SchemeIs(chrome::kExtensionScheme))
+ if (content::GetContentClient()->browser()->ShouldUseProcessPerSite(profile_,
+ url))
return true;
// DevTools pages have WebUI type but should not reuse the same host.
« no previous file with comments | « chrome/test/data/extensions/api_test/app_process_instances/path2/empty.html ('k') | content/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698