diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-04 23:08:09 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-04 23:08:09 +0000 |
commit | 2a2e3d67d14de8e39d97273b57b1a079f25f83fd (patch) | |
tree | f48671ba4129e290a70484421e4dce96823dbdf1 /chrome/nacl/nacl_ipc_adapter_unittest.cc | |
parent | fa2f1155fc8ba28621ca6a1ace002e30543f67e8 (diff) | |
download | chromium_src-2a2e3d67d14de8e39d97273b57b1a079f25f83fd.zip chromium_src-2a2e3d67d14de8e39d97273b57b1a079f25f83fd.tar.gz chromium_src-2a2e3d67d14de8e39d97273b57b1a079f25f83fd.tar.bz2 |
Add async trace events to trace progress of IPC messages
BUG=79942
Review URL: https://chromiumcodereview.appspot.com/10919023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl/nacl_ipc_adapter_unittest.cc')
-rw-r--r-- | chrome/nacl/nacl_ipc_adapter_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/nacl/nacl_ipc_adapter_unittest.cc b/chrome/nacl/nacl_ipc_adapter_unittest.cc index 7f3c55a..3c64ece 100644 --- a/chrome/nacl/nacl_ipc_adapter_unittest.cc +++ b/chrome/nacl/nacl_ipc_adapter_unittest.cc @@ -74,6 +74,7 @@ TEST_F(NaClIPCAdapterTest, SimpleReceiveRewriting) { int routing_id = 0x89898989; uint32 type = 0x55555555; IPC::Message input(routing_id, type, IPC::Message::PRIORITY_NORMAL); + uint32 flags = input.flags(); int value = 0x12345678; input.WriteInt(value); @@ -92,8 +93,7 @@ TEST_F(NaClIPCAdapterTest, SimpleReceiveRewriting) { EXPECT_EQ(sizeof(int), output_header->payload_size); EXPECT_EQ(routing_id, output_header->routing); EXPECT_EQ(type, output_header->type); - EXPECT_EQ(static_cast<uint32>(IPC::Message::PRIORITY_NORMAL), - output_header->flags); + EXPECT_EQ(flags, output_header->flags); EXPECT_EQ(0u, output_header->num_fds); EXPECT_EQ(0u, output_header->pad); |