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

Side by Side Diff: ipc/ipc_fuzzing_tests.cc

Issue 19607005: Use a direct include of the message_loop header in dbus/, device/, extensions/, google_apis/, gpu/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_channel_win.h ('k') | ipc/ipc_logging.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 6 #include <string>
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/threading/platform_thread.h" 10 #include "base/threading/platform_thread.h"
11 #include "ipc/ipc_test_base.h" 11 #include "ipc/ipc_test_base.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 // IPC messages for testing ---------------------------------------------------- 14 // IPC messages for testing ----------------------------------------------------
15 15
16 #define IPC_MESSAGE_IMPL 16 #define IPC_MESSAGE_IMPL
17 #include "ipc/ipc_message_macros.h" 17 #include "ipc/ipc_message_macros.h"
18 18
19 #define IPC_MESSAGE_START TestMsgStart 19 #define IPC_MESSAGE_START TestMsgStart
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 msg->WriteInt(0x64); 404 msg->WriteInt(0x64);
405 msg->WriteInt(0x32); 405 msg->WriteInt(0x32);
406 EXPECT_FALSE(server.OnMessageReceived(*msg)); 406 EXPECT_FALSE(server.OnMessageReceived(*msg));
407 delete msg; 407 delete msg;
408 408
409 EXPECT_EQ(0, server.unhandled_msgs()); 409 EXPECT_EQ(0, server.unhandled_msgs());
410 #endif 410 #endif
411 } 411 }
412 412
413 } // namespace 413 } // namespace
OLDNEW
« no previous file with comments | « ipc/ipc_channel_win.h ('k') | ipc/ipc_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698