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 // The bulk of this file is support code; sorry about that. Here's an overview | 5 // The bulk of this file is support code; sorry about that. Here's an overview |
6 // to hopefully help readers of this code: | 6 // to hopefully help readers of this code: |
7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or | 7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or |
8 // Win/EGL. | 8 // Win/EGL. |
9 // - ClientState is an enum for the state of the decode client used by the test. | 9 // - ClientState is an enum for the state of the decode client used by the test. |
10 // - ClientStateNotification is a barrier abstraction that allows the test code | 10 // - ClientStateNotification is a barrier abstraction that allows the test code |
(...skipping 14 matching lines...) Expand all Loading... |
25 // This is http://code.google.com/p/googletest/issues/detail?id=371 | 25 // This is http://code.google.com/p/googletest/issues/detail?id=371 |
26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
27 | 27 |
28 #include "base/at_exit.h" | 28 #include "base/at_exit.h" |
29 #include "base/bind.h" | 29 #include "base/bind.h" |
30 #include "base/command_line.h" | 30 #include "base/command_line.h" |
31 #include "base/file_util.h" | 31 #include "base/file_util.h" |
32 #include "base/format_macros.h" | 32 #include "base/format_macros.h" |
33 #include "base/md5.h" | 33 #include "base/md5.h" |
34 #include "base/platform_file.h" | 34 #include "base/platform_file.h" |
| 35 #include "base/process/process.h" |
35 #include "base/stl_util.h" | 36 #include "base/stl_util.h" |
36 #include "base/strings/string_number_conversions.h" | 37 #include "base/strings/string_number_conversions.h" |
37 #include "base/strings/string_split.h" | 38 #include "base/strings/string_split.h" |
38 #include "base/strings/stringize_macros.h" | 39 #include "base/strings/stringize_macros.h" |
39 #include "base/strings/stringprintf.h" | 40 #include "base/strings/stringprintf.h" |
40 #include "base/strings/utf_string_conversions.h" | 41 #include "base/strings/utf_string_conversions.h" |
41 #include "base/synchronization/condition_variable.h" | 42 #include "base/synchronization/condition_variable.h" |
42 #include "base/synchronization/lock.h" | 43 #include "base/synchronization/lock.h" |
43 #include "base/synchronization/waitable_event.h" | 44 #include "base/synchronization/waitable_event.h" |
44 #include "base/threading/thread.h" | 45 #include "base/threading/thread.h" |
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 #elif defined(OS_CHROMEOS) | 1152 #elif defined(OS_CHROMEOS) |
1152 #if defined(ARCH_CPU_ARMEL) | 1153 #if defined(ARCH_CPU_ARMEL) |
1153 content::ExynosVideoDecodeAccelerator::PreSandboxInitialization(); | 1154 content::ExynosVideoDecodeAccelerator::PreSandboxInitialization(); |
1154 #elif defined(ARCH_CPU_X86_FAMILY) | 1155 #elif defined(ARCH_CPU_X86_FAMILY) |
1155 content::VaapiWrapper::PreSandboxInitialization(); | 1156 content::VaapiWrapper::PreSandboxInitialization(); |
1156 #endif // ARCH_CPU_ARMEL | 1157 #endif // ARCH_CPU_ARMEL |
1157 #endif // OS_CHROMEOS | 1158 #endif // OS_CHROMEOS |
1158 | 1159 |
1159 return RUN_ALL_TESTS(); | 1160 return RUN_ALL_TESTS(); |
1160 } | 1161 } |
OLD | NEW |