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

Unified Diff: chrome/installer/setup/setup_singleton_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
Index: chrome/installer/setup/setup_singleton_unittest.cc
diff --git a/chrome/installer/setup/setup_singleton_unittest.cc b/chrome/installer/setup/setup_singleton_unittest.cc
index 60c69a9f1a498e0d14678981882738669454c440..b6459cfb3287185a2e744fe3d224326cd1347ee1 100644
--- a/chrome/installer/setup/setup_singleton_unittest.cc
+++ b/chrome/installer/setup/setup_singleton_unittest.cc
@@ -140,7 +140,9 @@ class SetupSingletonTest : public base::MultiProcessTest {
base::Process SpawnChildProcess(const std::string& process_name) {
base::LaunchOptions options;
options.start_hidden = true;
- return SpawnChildWithOptions(process_name, options);
+ base::SpawnChildResult spawn_result =
+ SpawnChildWithOptions(process_name, options);
+ return std::move(spawn_result.process);
}
const base::FilePath& install_dir_path() const {
« no previous file with comments | « chrome/common/service_process_util_unittest.cc ('k') | components/browser_watcher/exit_code_watcher_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698