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

Side by Side Diff: ipc/ipc_fuzzing_tests.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « ipc/ipc_channel_win.cc ('k') | ipc/ipc_logging.cc » ('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 <stdint.h> 5 #include <stdint.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 7
8 #include <limits> 8 #include <limits>
9 #include <sstream> 9 #include <sstream>
10 #include <string> 10 #include <string>
11 11
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/threading/platform_thread.h" 15 #include "base/threading/platform_thread.h"
16 #include "build/build_config.h"
16 #include "ipc/ipc_test_base.h" 17 #include "ipc/ipc_test_base.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 // IPC messages for testing ---------------------------------------------------- 20 // IPC messages for testing ----------------------------------------------------
20 21
21 #define IPC_MESSAGE_IMPL 22 #define IPC_MESSAGE_IMPL
22 #include "ipc/ipc_message_macros.h" 23 #include "ipc/ipc_message_macros.h"
23 24
24 #define IPC_MESSAGE_START TestMsgStart 25 #define IPC_MESSAGE_START TestMsgStart
25 26
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // thrown out of sync by the extra argument. 365 // thrown out of sync by the extra argument.
365 msg = new MsgClassIS(3, base::ASCIIToUTF16("expect three")); 366 msg = new MsgClassIS(3, base::ASCIIToUTF16("expect three"));
366 sender()->Send(msg); 367 sender()->Send(msg);
367 EXPECT_TRUE(listener.ExpectMessage(3, MsgClassIS::ID)); 368 EXPECT_TRUE(listener.ExpectMessage(3, MsgClassIS::ID));
368 369
369 EXPECT_TRUE(WaitForClientShutdown()); 370 EXPECT_TRUE(WaitForClientShutdown());
370 DestroyChannel(); 371 DestroyChannel();
371 } 372 }
372 373
373 } // namespace 374 } // namespace
OLDNEW
« no previous file with comments | « ipc/ipc_channel_win.cc ('k') | ipc/ipc_logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698