OLD | NEW |
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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #if defined(OS_MACOSX) | |
7 #include "base/mac/scoped_nsautorelease_pool.h" | |
8 #endif | |
9 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/shared_memory.h" | 7 #include "base/memory/shared_memory.h" |
| 8 #include "base/process/kill.h" |
11 #include "base/rand_util.h" | 9 #include "base/rand_util.h" |
12 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
13 #include "base/sys_info.h" | 11 #include "base/sys_info.h" |
14 #include "base/test/multiprocess_test.h" | 12 #include "base/test/multiprocess_test.h" |
15 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
16 #include "base/time/time.h" | 14 #include "base/time/time.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "testing/multiprocess_func_list.h" | 16 #include "testing/multiprocess_func_list.h" |
19 | 17 |
20 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 SharedMemoryProcessTest::CleanUp(); | 552 SharedMemoryProcessTest::CleanUp(); |
555 } | 553 } |
556 | 554 |
557 MULTIPROCESS_TEST_MAIN(SharedMemoryTestMain) { | 555 MULTIPROCESS_TEST_MAIN(SharedMemoryTestMain) { |
558 return SharedMemoryProcessTest::TaskTestMain(); | 556 return SharedMemoryProcessTest::TaskTestMain(); |
559 } | 557 } |
560 | 558 |
561 #endif // !OS_IOS | 559 #endif // !OS_IOS |
562 | 560 |
563 } // namespace base | 561 } // namespace base |
OLD | NEW |