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

Unified Diff: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.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 | « base/win/wait_chain_unittest.cc ('k') | chrome/browser/process_singleton_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
index db561a302c06ec3dceb32bc5d8721f4046ea03cb..45617d6cff85241c5e1393b666988037402cab1c 100644
--- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
+++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
@@ -470,9 +470,9 @@ base::Process CloudPrintProxyPolicyStartupTest::Launch(
.release(),
IPC::Channel::MODE_SERVER, this, IOTaskRunner());
- base::Process process = SpawnChild(name);
- EXPECT_TRUE(process.IsValid());
- return process;
+ base::SpawnChildResult spawn_result = SpawnChild(name);
+ EXPECT_TRUE(spawn_result.process.IsValid());
+ return std::move(spawn_result.process);
}
void CloudPrintProxyPolicyStartupTest::WaitForConnect() {
« no previous file with comments | « base/win/wait_chain_unittest.cc ('k') | chrome/browser/process_singleton_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698