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

Unified Diff: util/test/multiprocess_exec_test.cc

Issue 811823003: Cross platform low level file IO wrappers (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 6 years 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: util/test/multiprocess_exec_test.cc
diff --git a/util/test/multiprocess_exec_test.cc b/util/test/multiprocess_exec_test.cc
index ecadc4444cd8454145f95405a5b3eb159900e1fb..085bf5d845e88a99ba80581b3786f4346f6a3ed7 100644
--- a/util/test/multiprocess_exec_test.cc
+++ b/util/test/multiprocess_exec_test.cc
@@ -18,7 +18,7 @@
#include "base/basictypes.h"
#include "gtest/gtest.h"
-#include "util/file/fd_io.h"
+#include "util/file/file_io.h"
#include "util/test/executable_path.h"
namespace crashpad {
@@ -37,9 +37,9 @@ class TestMultiprocessExec final : public MultiprocessExec {
// gracefully with a gtest assertion if the child does not execute properly.
char c = 'z';
- ASSERT_TRUE(LoggingWriteFD(WritePipeFD(), &c, 1));
+ ASSERT_TRUE(LoggingWriteFile(WritePipeFD(), &c, 1));
- ASSERT_TRUE(LoggingReadFD(ReadPipeFD(), &c, 1));
+ ASSERT_TRUE(LoggingReadFile(ReadPipeFD(), &c, 1));
EXPECT_EQ('Z', c);
}

Powered by Google App Engine
This is Rietveld 408576698