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

Unified Diff: snapshot/mac/mach_o_image_annotations_reader_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 | « no previous file | snapshot/mac/process_reader_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/mac/mach_o_image_annotations_reader_test.cc
diff --git a/snapshot/mac/mach_o_image_annotations_reader_test.cc b/snapshot/mac/mach_o_image_annotations_reader_test.cc
index 01ecc7a06b0db412b9c7158d72496fbef449f75b..1978d38632c212fc512e1e6e6977df4179d52ec0 100644
--- a/snapshot/mac/mach_o_image_annotations_reader_test.cc
+++ b/snapshot/mac/mach_o_image_annotations_reader_test.cc
@@ -193,7 +193,7 @@ class TestMachOImageAnnotationsReader final
// Wait for the child process to indicate that it’s done setting up its
// annotations via the CrashpadInfo interface.
char c;
- CheckedReadFile(ReadPipeFD(), &c, sizeof(c));
+ CheckedReadFile(ReadPipeHandle(), &c, sizeof(c));
// Verify the “simple map” annotations set via the CrashpadInfo interface.
const std::vector<ProcessReader::Module>& modules =
@@ -216,7 +216,7 @@ class TestMachOImageAnnotationsReader final
EXPECT_EQ("", all_annotations_simple_map["#TEST# empty_value"]);
// Tell the child process that it’s permitted to crash.
- CheckedWriteFile(WritePipeFD(), &c, sizeof(c));
+ CheckedWriteFile(WritePipeHandle(), &c, sizeof(c));
if (test_type_ != kDontCrash) {
// Handle the child’s crash. Further validation will be done in
@@ -268,10 +268,10 @@ class TestMachOImageAnnotationsReader final
// Tell the parent that the environment has been set up.
char c = '\0';
- CheckedWriteFile(WritePipeFD(), &c, sizeof(c));
+ CheckedWriteFile(WritePipeHandle(), &c, sizeof(c));
// Wait for the parent to indicate that it’s safe to crash.
- CheckedReadFile(ReadPipeFD(), &c, sizeof(c));
+ CheckedReadFile(ReadPipeHandle(), &c, sizeof(c));
// Direct an exception message to the exception server running in the
// parent.
« no previous file with comments | « no previous file | snapshot/mac/process_reader_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698