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

Unified Diff: chrome/browser/extensions/extension_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 | « no previous file | chrome/common/extensions/extension_process_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_apitest.cc
diff --git a/chrome/browser/extensions/extension_apitest.cc b/chrome/browser/extensions/extension_apitest.cc
index 0402aacbd18805ad8fc6a9a0ea053c6b4be31bcd..2f14cddaf51e95edf8023fa37c984a0610dc1635 100644
--- a/chrome/browser/extensions/extension_apitest.cc
+++ b/chrome/browser/extensions/extension_apitest.cc
@@ -156,10 +156,7 @@ void ExtensionApiTest::SetUpInProcessBrowserTestFixture() {
test_config_->SetString(kTestDataDirectory,
net::FilePathToFileURL(test_data_dir_).spec());
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);
extensions::TestGetConfigFunction::set_test_config_state(
test_config_.get());
« no previous file with comments | « no previous file | chrome/common/extensions/extension_process_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698