Lines Matching refs:IPC
12 #include "ipc/ipc_message.h"
13 #include "ipc/ipc_message_utils.h"
31 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
32 IPC::ParamTraits<GURL>::Write(&msg, input);
36 EXPECT_TRUE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output));
53 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
57 EXPECT_FALSE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output));
65 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
66 IPC::ParamTraits<TestPair>::Write(&msg, input);
70 EXPECT_TRUE(IPC::ParamTraits<TestPair>::Read(&msg, &iter, &output));
84 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
85 IPC::ParamTraits<SkBitmap>::Write(&msg, bitmap);
89 EXPECT_TRUE(IPC::ParamTraits<SkBitmap>::Read(&msg, &iter, &output));
100 IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL);
115 EXPECT_FALSE(IPC::ParamTraits<SkBitmap>::Read(&bad_msg, &iter, &bad_output));
124 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
125 IPC::WriteParam(&msg, input);
129 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output));
134 IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL);
137 EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output));
158 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
159 IPC::WriteParam(&msg, input);
163 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output));
168 IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL);
171 EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output));
178 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
179 IPC::ParamTraits<net::HostPortPair>::Write(&msg, input);
183 EXPECT_TRUE(IPC::ParamTraits<net::HostPortPair>::Read(&msg, &iter, &output));