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

Unified Diff: ipc/mojo/ipc_mojo_bootstrap_unittest.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | ipc/mojo/ipc_mojo_handle_attachment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | ipc/mojo/ipc_mojo_handle_attachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698