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

Side by Side Diff: ipc/ipc_perftests.cc

Issue 16684003: Use a direct include of strings headers in ipc/, jingle/, media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_message_utils.cc ('k') | ipc/ipc_sync_channel_unittest.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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/perftimer.h" 13 #include "base/perftimer.h"
14 #include "base/pickle.h" 14 #include "base/pickle.h"
15 #include "base/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "ipc/ipc_descriptors.h"
19 #include "ipc/ipc_channel.h" 18 #include "ipc/ipc_channel.h"
20 #include "ipc/ipc_channel_proxy.h" 19 #include "ipc/ipc_channel_proxy.h"
20 #include "ipc/ipc_descriptors.h"
21 #include "ipc/ipc_message_utils.h" 21 #include "ipc/ipc_message_utils.h"
22 #include "ipc/ipc_sender.h" 22 #include "ipc/ipc_sender.h"
23 #include "ipc/ipc_test_base.h" 23 #include "ipc/ipc_test_base.h"
24 24
25 namespace { 25 namespace {
26 26
27 // This test times the roundtrip IPC message cycle. 27 // This test times the roundtrip IPC message cycle.
28 // 28 //
29 // TODO(brettw): Make this test run by default. 29 // TODO(brettw): Make this test run by default.
30 30
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 IPC::Channel::MODE_CLIENT, 270 IPC::Channel::MODE_CLIENT,
271 &listener); 271 &listener);
272 listener.Init(&channel); 272 listener.Init(&channel);
273 CHECK(channel.Connect()); 273 CHECK(channel.Connect());
274 274
275 base::MessageLoop::current()->Run(); 275 base::MessageLoop::current()->Run();
276 return 0; 276 return 0;
277 } 277 }
278 278
279 } // namespace 279 } // namespace
OLDNEW
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ipc/ipc_sync_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698