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

Unified Diff: chrome/common/component_flash_hint_file_linux_unittest.cc

Issue 2733323002: Changing multiprocess test SpawnChild to return a struct. (Closed)
Patch Set: Synced Created 3 years, 9 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/browser/process_singleton_win_unittest.cc ('k') | chrome/common/multi_process_lock_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/component_flash_hint_file_linux_unittest.cc
diff --git a/chrome/common/component_flash_hint_file_linux_unittest.cc b/chrome/common/component_flash_hint_file_linux_unittest.cc
index fa3fa1f258433b42ee3da99d66a2a0cdd91c13bb..7fdd301d5dd9a27b9334c7c625b33db23105036a 100644
--- a/chrome/common/component_flash_hint_file_linux_unittest.cc
+++ b/chrome/common/component_flash_hint_file_linux_unittest.cc
@@ -157,11 +157,11 @@ MULTIPROCESS_TEST_MAIN(NoExecMountTest) {
}
TEST_F(ComponentFlashHintFileTest, ExecTest2) {
- base::Process process = SpawnChild("NoExecMountTest");
- ASSERT_TRUE(process.IsValid());
+ base::SpawnChildResult spawn_child = SpawnChild("NoExecMountTest");
+ ASSERT_TRUE(spawn_child.process.IsValid());
int exit_code = 42;
- ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(),
- &exit_code));
+ ASSERT_TRUE(spawn_child.process.WaitForExitWithTimeout(
+ TestTimeouts::action_max_timeout(), &exit_code));
EXPECT_EQ(0, exit_code);
}
« no previous file with comments | « chrome/browser/process_singleton_win_unittest.cc ('k') | chrome/common/multi_process_lock_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698