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

Unified Diff: chrome/browser/extensions/app_process_apitest.cc

Issue 1208143002: Move existing kSitePerProcess checks to a policy-oracle object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@swapped_out_cmdline_checks
Patch Set: Fix some includes Created 5 years, 5 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/extensions/app_process_apitest.cc
diff --git a/chrome/browser/extensions/app_process_apitest.cc b/chrome/browser/extensions/app_process_apitest.cc
index 7514427e757d9008d0c9fa2cde8280f0bc36a447..dcfca464043d5dd80f0795e507e78f1607135eec 100644
--- a/chrome/browser/extensions/app_process_apitest.cc
+++ b/chrome/browser/extensions/app_process_apitest.cc
@@ -776,8 +776,7 @@ IN_PROC_BROWSER_TEST_F(AppApiTest, OpenWebPopupFromWebIframe) {
content::WaitForLoadStop(popup_contents);
bool should_be_in_same_process =
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kSitePerProcess);
+ !content::AreAllSitesIsolatedForTesting();
content::RenderProcessHost* popup_process =
popup_contents->GetRenderProcessHost();
EXPECT_EQ(should_be_in_same_process, process == popup_process);

Powered by Google App Engine
This is Rietveld 408576698