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

Unified Diff: chrome/common/extensions/extension_process_policy.cc

Issue 2285883002: Enable Site Isolation for Extensions. (Closed)
Patch Set: Fix web_view_apitest.cc too. Created 4 years, 4 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/common/extensions/extension_process_policy.cc
diff --git a/chrome/common/extensions/extension_process_policy.cc b/chrome/common/extensions/extension_process_policy.cc
index 3208e21d800491a6e3254932c3bef4c765f5bbdd..914427763bfd510328b9217a8b9d0df3e4cdd7e8 100644
--- a/chrome/common/extensions/extension_process_policy.cc
+++ b/chrome/common/extensions/extension_process_policy.cc
@@ -68,16 +68,7 @@ bool CrossesExtensionProcessBoundary(
}
bool IsIsolateExtensionsEnabled() {
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kIsolateExtensions)) {
- return true;
- }
-
- const std::string group_name =
- base::FieldTrialList::FindFullName("SiteIsolationExtensions");
- // Use StartsWith() for more flexibility (e.g. multiple Enabled groups).
- return base::StartsWith(group_name, "Enabled",
- base::CompareCase::INSENSITIVE_ASCII);
+ return true;
}
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/extension_apitest.cc ('k') | extensions/browser/guest_view/web_view/web_view_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698