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

Side by Side Diff: ipc/ipc_message_unittest.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_message_attachment_set_posix_unittest.cc ('k') | ipc/ipc_message_utils.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 "ipc/ipc_message.h" 5 #include "ipc/ipc_message.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
7 #include <string.h> 9 #include <string.h>
8 10
9 #include <limits> 11 #include <limits>
10 12
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 15 #include "base/values.h"
16 #include "build/build_config.h"
14 #include "ipc/attachment_broker.h" 17 #include "ipc/attachment_broker.h"
15 #include "ipc/ipc_message_utils.h" 18 #include "ipc/ipc_message_utils.h"
16 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
17 20
18 // IPC messages for testing ---------------------------------------------------- 21 // IPC messages for testing ----------------------------------------------------
19 22
20 #define IPC_MESSAGE_IMPL 23 #define IPC_MESSAGE_IMPL
21 #include "ipc/ipc_message_macros.h" 24 #include "ipc/ipc_message_macros.h"
22 25
23 #define IPC_MESSAGE_START TestMsgStart 26 #define IPC_MESSAGE_START TestMsgStart
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 /* TODO: handle sync IPCs 283 /* TODO: handle sync IPCs
281 TEST_F(IPCMessageParameterTest, Sync) { 284 TEST_F(IPCMessageParameterTest, Sync) {
282 std::string output; 285 std::string output;
283 TestMsgClassIS message(42, &output); 286 TestMsgClassIS message(42, &output);
284 EXPECT_TRUE(OnMessageReceived(message)); 287 EXPECT_TRUE(OnMessageReceived(message));
285 EXPECT_TRUE(called_); 288 EXPECT_TRUE(called_);
286 EXPECT_EQ(output, std::string("out")); 289 EXPECT_EQ(output, std::string("out"));
287 }*/ 290 }*/
288 291
289 } // namespace IPC 292 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_message_attachment_set_posix_unittest.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698