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

Unified Diff: ipc/ipc_message_utils_unittest.cc

Issue 2484943004: Remove unused parts of IPC::ChannelHandle. (Closed)
Patch Set: rebase Created 4 years, 1 month 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/ipc_message_utils.cc ('k') | ppapi/nacl_irt/irt_start.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils_unittest.cc
diff --git a/ipc/ipc_message_utils_unittest.cc b/ipc/ipc_message_utils_unittest.cc
index be7b43f29897a88d1cd060ca292526d77312a2b1..e5c82bc8d9c9b8ce9b5275e30defb8eb7648bf75 100644
--- a/ipc/ipc_message_utils_unittest.cc
+++ b/ipc/ipc_message_utils_unittest.cc
@@ -150,12 +150,6 @@ TEST(IPCMessageUtilsTest, MojoChannelHandle) {
base::PickleIterator iter(message);
IPC::ChannelHandle result_handle;
EXPECT_TRUE(IPC::ReadParam(&message, &iter, &result_handle));
- EXPECT_TRUE(result_handle.name.empty());
-#if defined(OS_POSIX)
- EXPECT_EQ(-1, result_handle.socket.fd);
-#elif defined(OS_WIN)
- EXPECT_EQ(nullptr, result_handle.pipe.handle);
-#endif
EXPECT_EQ(channel_handle.mojo_handle, result_handle.mojo_handle);
}
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ppapi/nacl_irt/irt_start.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698