Index: mojo/edk/test/multiprocess_test_helper_unittest.cc |
diff --git a/mojo/edk/test/multiprocess_test_helper_unittest.cc b/mojo/edk/test/multiprocess_test_helper_unittest.cc |
index 1ec85a3f4fc3aeca0e15f2e22062e0b42bce5063..41793a4cee08c64481eda73b88b2731a4036be05 100644 |
--- a/mojo/edk/test/multiprocess_test_helper_unittest.cc |
+++ b/mojo/edk/test/multiprocess_test_helper_unittest.cc |
@@ -8,27 +8,29 @@ |
#include "base/logging.h" |
#include "build/build_config.h" |
-#include "mojo/edk/embedder/scoped_platform_handle.h" |
+#include "mojo/edk/platform/platform_handle.h" |
+#include "mojo/edk/platform/scoped_platform_handle.h" |
#include "mojo/edk/test/test_utils.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-using mojo::embedder::ScopedPlatformHandle; |
+using mojo::platform::PlatformHandle; |
+using mojo::platform::ScopedPlatformHandle; |
namespace mojo { |
namespace test { |
namespace { |
-bool IsNonBlocking(const embedder::PlatformHandle& handle) { |
+bool IsNonBlocking(const PlatformHandle& handle) { |
return fcntl(handle.fd, F_GETFL) & O_NONBLOCK; |
} |
-bool WriteByte(const embedder::PlatformHandle& handle, char c) { |
+bool WriteByte(const PlatformHandle& handle, char c) { |
size_t bytes_written = 0; |
BlockingWrite(handle, &c, 1, &bytes_written); |
return bytes_written == 1; |
} |
-bool ReadByte(const embedder::PlatformHandle& handle, char* c) { |
+bool ReadByte(const PlatformHandle& handle, char* c) { |
size_t bytes_read = 0; |
BlockingRead(handle, c, 1, &bytes_read); |
return bytes_read == 1; |