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

Unified Diff: extensions/browser/guest_view/web_view/web_view_apitest.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
« no previous file with comments | « chrome/common/extensions/extension_process_policy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/web_view/web_view_apitest.cc
diff --git a/extensions/browser/guest_view/web_view/web_view_apitest.cc b/extensions/browser/guest_view/web_view/web_view_apitest.cc
index babdbf5597cb497060ea6b5208ed8b29497577b2..2037f846d605fc8aae80a51503c5120c61ec63e1 100644
--- a/extensions/browser/guest_view/web_view/web_view_apitest.cc
+++ b/extensions/browser/guest_view/web_view/web_view_apitest.cc
@@ -193,10 +193,7 @@ void WebViewAPITest::SetUpOnMainThread() {
TestGetConfigFunction::set_test_config_state(&test_config_);
base::FilePath test_data_dir;
test_config_.SetInteger(kTestWebSocketPort, 0);
- bool isolate_extensions = base::CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kSitePerProcess) ||
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- extensions::switches::kIsolateExtensions);
+ bool isolate_extensions = true;
test_config_.SetBoolean(kIsolateExtensions, isolate_extensions);
}
« no previous file with comments | « chrome/common/extensions/extension_process_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698