Index: ipc/mojo/ipc_mojo_bootstrap_unittest.cc |
diff --git a/ipc/mojo/ipc_mojo_bootstrap_unittest.cc b/ipc/mojo/ipc_mojo_bootstrap_unittest.cc |
index 391e953055ab684426ec287e42b9d63b9db804b2..60046d16c529004cf6b88c8496f5839de9c0d4ab 100644 |
--- a/ipc/mojo/ipc_mojo_bootstrap_unittest.cc |
+++ b/ipc/mojo/ipc_mojo_bootstrap_unittest.cc |
@@ -4,9 +4,12 @@ |
#include "ipc/mojo/ipc_mojo_bootstrap.h" |
+#include <stdint.h> |
+ |
#include "base/base_paths.h" |
#include "base/files/file.h" |
#include "base/message_loop/message_loop.h" |
+#include "build/build_config.h" |
#include "ipc/ipc_test_base.h" |
#if defined(OS_POSIX) |
@@ -24,7 +27,7 @@ class TestingDelegate : public IPC::MojoBootstrap::Delegate { |
TestingDelegate() : passed_(false) {} |
void OnPipeAvailable(mojo::embedder::ScopedPlatformHandle handle, |
- int32 peer_pid) override; |
+ int32_t peer_pid) override; |
void OnBootstrapError() override; |
bool passed() const { return passed_; } |
@@ -35,7 +38,7 @@ class TestingDelegate : public IPC::MojoBootstrap::Delegate { |
void TestingDelegate::OnPipeAvailable( |
mojo::embedder::ScopedPlatformHandle handle, |
- int32 peer_pid) { |
+ int32_t peer_pid) { |
passed_ = true; |
base::MessageLoop::current()->QuitWhenIdle(); |
} |