OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdio.h> | 5 #include <stdio.h> |
6 #include <iostream> | |
7 #include <string> | 6 #include <string> |
8 #include <sstream> | 7 #include <sstream> |
9 | 8 |
10 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
11 #include "base/platform_thread.h" | 10 #include "base/platform_thread.h" |
12 #include "base/process_util.h" | 11 #include "base/process_util.h" |
13 #include "ipc/ipc_channel.h" | 12 #include "ipc/ipc_channel.h" |
14 #include "ipc/ipc_channel_proxy.h" | 13 #include "ipc/ipc_channel_proxy.h" |
15 #include "ipc/ipc_message_utils.h" | 14 #include "ipc/ipc_message_utils.h" |
16 #include "ipc/ipc_tests.h" | 15 #include "ipc/ipc_tests.h" |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 msg = new IPC::Message(MSG_ROUTING_CONTROL, MsgClassIS::ID, | 420 msg = new IPC::Message(MSG_ROUTING_CONTROL, MsgClassIS::ID, |
422 IPC::Message::PRIORITY_NORMAL); | 421 IPC::Message::PRIORITY_NORMAL); |
423 msg->WriteInt(0x64); | 422 msg->WriteInt(0x64); |
424 msg->WriteInt(0x32); | 423 msg->WriteInt(0x32); |
425 EXPECT_FALSE(server.OnMessageReceived(*msg)); | 424 EXPECT_FALSE(server.OnMessageReceived(*msg)); |
426 delete msg; | 425 delete msg; |
427 | 426 |
428 EXPECT_EQ(0, server.unhandled_msgs()); | 427 EXPECT_EQ(0, server.unhandled_msgs()); |
429 #endif | 428 #endif |
430 } | 429 } |
OLD | NEW |