OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #ifndef IPC_IPC_PERFTEST_SUPPORT_H_ | 5 #ifndef IPC_IPC_PERFTEST_SUPPORT_H_ |
6 #define IPC_IPC_PERFTEST_SUPPORT_H_ | 6 #define IPC_IPC_PERFTEST_SUPPORT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
| 12 #include "base/macros.h" |
| 13 #include "build/build_config.h" |
10 #include "ipc/ipc_test_base.h" | 14 #include "ipc/ipc_test_base.h" |
11 | 15 |
12 namespace IPC { | 16 namespace IPC { |
13 namespace test { | 17 namespace test { |
14 | 18 |
15 class ChannelReflectorListener; | 19 class ChannelReflectorListener; |
16 | 20 |
17 class PingPongTestParams { | 21 class PingPongTestParams { |
18 public: | 22 public: |
19 PingPongTestParams(size_t size, int count) | 23 PingPongTestParams(size_t size, int count) |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 cpu_set_t old_cpuset_; | 75 cpu_set_t old_cpuset_; |
72 #endif | 76 #endif |
73 | 77 |
74 DISALLOW_COPY_AND_ASSIGN(LockThreadAffinity); | 78 DISALLOW_COPY_AND_ASSIGN(LockThreadAffinity); |
75 }; | 79 }; |
76 | 80 |
77 } | 81 } |
78 } | 82 } |
79 | 83 |
80 #endif // IPC_IPC_PERFTEST_SUPPORT_H_ | 84 #endif // IPC_IPC_PERFTEST_SUPPORT_H_ |
OLD | NEW |