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

Unified Diff: content/common/site_isolation_policy.cc

Issue 1378203002: Handle hosted apps consistently in --isolate-extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « content/common/site_isolation_policy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/site_isolation_policy.cc
diff --git a/content/common/site_isolation_policy.cc b/content/common/site_isolation_policy.cc
index 2de3702902ab072a39383978cd8787439181ca56..afe4f149bf2f2ef64990aeaec626cabfe5f58a24 100644
--- a/content/common/site_isolation_policy.cc
+++ b/content/common/site_isolation_policy.cc
@@ -56,11 +56,12 @@ bool SiteIsolationPolicy::AreCrossProcessFramesPossible() {
}
// static
-bool SiteIsolationPolicy::DoesSiteRequireDedicatedProcess(const GURL& gurl) {
+bool SiteIsolationPolicy::DoesSiteRequireDedicatedProcess(
+ const GURL& effective_url) {
const SiteIsolationWhitelist& whitelist = g_site_isolation_whitelist.Get();
return whitelist.should_isolate_all_sites() ||
(!whitelist.isolated_schemes().empty() &&
- whitelist.isolated_schemes().count(gurl.scheme()));
+ whitelist.isolated_schemes().count(effective_url.scheme()));
}
// static
« no previous file with comments | « content/common/site_isolation_policy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698