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

Unified Diff: util/mach/mach_message_server_test.cc

Issue 880763002: Reorganize Multiprocess and implement for Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes 2 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/mach/exception_ports_test.cc ('k') | util/net/http_transport_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/mach_message_server_test.cc
diff --git a/util/mach/mach_message_server_test.cc b/util/mach/mach_message_server_test.cc
index 0ad7efc886e2bdd4a7cafbe918a02a9f4e376942..a3a2a364822f833984a5f925d8bae377e59336af 100644
--- a/util/mach/mach_message_server_test.cc
+++ b/util/mach/mach_message_server_test.cc
@@ -335,13 +335,13 @@ class TestMachMessageServer : public MachMessageServer::Interface,
if (options_.child_wait_for_parent_pipe_early) {
// Tell the child to begin sending messages.
char c = '\0';
- CheckedWriteFile(WritePipeFD(), &c, 1);
+ CheckedWriteFile(WritePipeHandle(), &c, 1);
}
if (options_.parent_wait_for_child_pipe) {
// Wait until the child is done sending what it’s going to send.
char c;
- CheckedReadFile(ReadPipeFD(), &c, 1);
+ CheckedReadFile(ReadPipeHandle(), &c, 1);
EXPECT_EQ('\0', c);
}
@@ -386,7 +386,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
if (options_.child_wait_for_parent_pipe_late) {
// Let the child know it’s safe to exit.
char c = '\0';
- CheckedWriteFile(WritePipeFD(), &c, 1);
+ CheckedWriteFile(WritePipeHandle(), &c, 1);
}
}
@@ -394,7 +394,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
if (options_.child_wait_for_parent_pipe_early) {
// Wait until the parent is done setting things up on its end.
char c;
- CheckedReadFile(ReadPipeFD(), &c, 1);
+ CheckedReadFile(ReadPipeHandle(), &c, 1);
EXPECT_EQ('\0', c);
}
@@ -428,7 +428,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
if (options_.child_wait_for_parent_pipe_late) {
char c;
- CheckedReadFile(ReadPipeFD(), &c, 1);
+ CheckedReadFile(ReadPipeHandle(), &c, 1);
ASSERT_EQ('\0', c);
}
}
@@ -550,7 +550,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
// running MachMessageServer() once it’s received.
void ChildNotifyParentViaPipe() {
char c = '\0';
- CheckedWriteFile(WritePipeFD(), &c, 1);
+ CheckedWriteFile(WritePipeHandle(), &c, 1);
}
// In the child process, sends a request message to the server and then
« no previous file with comments | « util/mach/exception_ports_test.cc ('k') | util/net/http_transport_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698