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

Side by Side Diff: ipc/attachment_broker_mac_unittest.cc

Issue 2365623003: Remove unused thread.h include in trace_event_impl.h and fix IWUU. (Closed)
Patch Set: Whitelist base DEPS for all web/tests Created 4 years, 2 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <fcntl.h> 7 #include <fcntl.h>
8 #include <mach/mach_vm.h> 8 #include <mach/mach_vm.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <sys/mman.h> 10 #include <sys/mman.h>
11 11
12 #include <memory> 12 #include <memory>
13 #include <tuple> 13 #include <tuple>
14 14
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/files/file_util.h" 16 #include "base/files/file_util.h"
17 #include "base/files/scoped_file.h" 17 #include "base/files/scoped_file.h"
18 #include "base/files/scoped_temp_dir.h" 18 #include "base/files/scoped_temp_dir.h"
19 #include "base/mac/mac_util.h" 19 #include "base/mac/mac_util.h"
20 #include "base/mac/mach_logging.h" 20 #include "base/mac/mach_logging.h"
21 #include "base/memory/free_deleter.h" 21 #include "base/memory/free_deleter.h"
22 #include "base/memory/shared_memory.h" 22 #include "base/memory/shared_memory.h"
23 #include "base/run_loop.h" 23 #include "base/run_loop.h"
24 #include "base/strings/string_number_conversions.h" 24 #include "base/strings/string_number_conversions.h"
25 #include "base/synchronization/spin_wait.h" 25 #include "base/synchronization/spin_wait.h"
26 #include "base/threading/thread.h"
26 #include "base/time/time.h" 27 #include "base/time/time.h"
27 #include "ipc/attachment_broker_messages.h" 28 #include "ipc/attachment_broker_messages.h"
28 #include "ipc/attachment_broker_privileged_mac.h" 29 #include "ipc/attachment_broker_privileged_mac.h"
29 #include "ipc/attachment_broker_unprivileged_mac.h" 30 #include "ipc/attachment_broker_unprivileged_mac.h"
30 #include "ipc/ipc_listener.h" 31 #include "ipc/ipc_listener.h"
31 #include "ipc/ipc_message.h" 32 #include "ipc/ipc_message.h"
32 #include "ipc/ipc_test_base.h" 33 #include "ipc/ipc_test_base.h"
33 #include "ipc/ipc_test_messages.h" 34 #include "ipc/ipc_test_messages.h"
34 #include "ipc/test_util_mac.h" 35 #include "ipc/test_util_mac.h"
35 36
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 SendControlMessage(sender, success); 1291 SendControlMessage(sender, success);
1291 } 1292 }
1292 } 1293 }
1293 1294
1294 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(MemoryUsageManyMessages) { 1295 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(MemoryUsageManyMessages) {
1295 return CommonPrivilegedProcessMain(&MemoryUsageManyMessagesCallback, 1296 return CommonPrivilegedProcessMain(&MemoryUsageManyMessagesCallback,
1296 "MemoryUsageManyMessages"); 1297 "MemoryUsageManyMessages");
1297 } 1298 }
1298 1299
1299 } // namespace 1300 } // namespace
OLDNEW
« no previous file with comments | « extensions/browser/api/display_source/display_source_apitestbase.cc ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698