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

Unified Diff: util/test/multiprocess_exec_posix.cc

Issue 853853002: win: Stub reorganization of MultiprocessExec (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 11 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 | « util/test/multiprocess_exec.cc ('k') | util/test/multiprocess_exec_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/multiprocess_exec_posix.cc
diff --git a/util/test/multiprocess_exec.cc b/util/test/multiprocess_exec_posix.cc
similarity index 98%
rename from util/test/multiprocess_exec.cc
rename to util/test/multiprocess_exec_posix.cc
index 2e725dc9effdf3a32c9d0799d46553fb7fa1ff15..69d631e0ca2179bf12d5a5ef222d20046a1b3f0c 100644
--- a/util/test/multiprocess_exec.cc
+++ b/util/test/multiprocess_exec_posix.cc
@@ -72,7 +72,7 @@ void MultiprocessExec::MultiprocessChild() {
static_assert(STDERR_FILENO == 2, "stderr must be fd 2");
// Move the read pipe to stdin.
- int read_fd = ReadPipeFD();
+ int read_fd = ReadPipeHandle();
ASSERT_NE(read_fd, STDIN_FILENO);
ASSERT_NE(read_fd, STDOUT_FILENO);
ASSERT_EQ(STDIN_FILENO, fileno(stdin));
@@ -84,7 +84,7 @@ void MultiprocessExec::MultiprocessChild() {
ASSERT_EQ(STDIN_FILENO, rv) << ErrnoMessage("dup2");
// Move the write pipe to stdout.
- int write_fd = WritePipeFD();
+ int write_fd = WritePipeHandle();
ASSERT_NE(write_fd, STDIN_FILENO);
ASSERT_NE(write_fd, STDOUT_FILENO);
ASSERT_EQ(STDOUT_FILENO, fileno(stdout));
« no previous file with comments | « util/test/multiprocess_exec.cc ('k') | util/test/multiprocess_exec_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698