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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 1377933004: Modify --isolate-extensions to not isolate hosted apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_isolate_apps3
Patch Set: Fixes from charlie Created 5 years, 2 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 0c6bf50657f971b69ef0def7172b3ed9d431b383..a9df0342f87c8109aa0c502e855c77fd66178cfb 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -944,6 +944,18 @@ bool ChromeContentBrowserClient::ShouldUseProcessPerSite(
#endif
}
+bool ChromeContentBrowserClient::DoesSiteRequireDedicatedProcess(
+ content::BrowserContext* browser_context,
+ const GURL& effective_site_url) {
+#if defined(ENABLE_EXTENSIONS)
+ if (ChromeContentBrowserClientExtensionsPart::DoesSiteRequireDedicatedProcess(
+ browser_context, effective_site_url)) {
+ return true;
+ }
+#endif
+ return false;
+}
+
// TODO(creis, nick): https://crbug.com/160576 describes a weakness in our
// origin-lock enforcement, where we don't have a way to efficiently know
// effective URLs on the IO thread, and wind up killing processes that e.g.

Powered by Google App Engine
This is Rietveld 408576698