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

Side by Side Diff: ipc/ipc_channel_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_channel_reader_unittest.cc ('k') | ipc/ipc_channel_win.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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
11 #include <stdint.h>
12
11 #include <string> 13 #include <string>
12 14
13 #include "base/pickle.h" 15 #include "base/pickle.h"
14 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
15 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
16 #include "base/threading/thread.h" 18 #include "base/threading/thread.h"
17 #include "ipc/ipc_test_base.h" 19 #include "ipc/ipc_test_base.h"
18 #include "ipc/ipc_test_channel_listener.h" 20 #include "ipc/ipc_test_channel_listener.h"
19 21
20 namespace { 22 namespace {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 IPCTestBase::GetChannelName("GenericClient"), &listener)); 172 IPCTestBase::GetChannelName("GenericClient"), &listener));
171 CHECK(channel->Connect()); 173 CHECK(channel->Connect());
172 listener.Init(channel.get()); 174 listener.Init(channel.get());
173 IPC::TestChannelListener::SendOneMessage(channel.get(), "hello from child"); 175 IPC::TestChannelListener::SendOneMessage(channel.get(), "hello from child");
174 176
175 base::MessageLoop::current()->Run(); 177 base::MessageLoop::current()->Run();
176 return 0; 178 return 0;
177 } 179 }
178 180
179 } // namespace 181 } // namespace
OLDNEW
« no previous file with comments | « ipc/ipc_channel_reader_unittest.cc ('k') | ipc/ipc_channel_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698