| 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 20 matching lines...) Expand all Loading... |
| 31 #include "base/bind.h" | 31 #include "base/bind.h" |
| 32 #include "base/callback_helpers.h" | 32 #include "base/callback_helpers.h" |
| 33 #include "base/command_line.h" | 33 #include "base/command_line.h" |
| 34 #include "base/files/file.h" | 34 #include "base/files/file.h" |
| 35 #include "base/files/file_util.h" | 35 #include "base/files/file_util.h" |
| 36 #include "base/format_macros.h" | 36 #include "base/format_macros.h" |
| 37 #include "base/location.h" | 37 #include "base/location.h" |
| 38 #include "base/macros.h" | 38 #include "base/macros.h" |
| 39 #include "base/md5.h" | 39 #include "base/md5.h" |
| 40 #include "base/memory/ptr_util.h" | 40 #include "base/memory/ptr_util.h" |
| 41 #include "base/message_loop/message_loop.h" |
| 41 #include "base/process/process_handle.h" | 42 #include "base/process/process_handle.h" |
| 42 #include "base/single_thread_task_runner.h" | 43 #include "base/single_thread_task_runner.h" |
| 43 #include "base/stl_util.h" | 44 #include "base/stl_util.h" |
| 44 #include "base/strings/string_number_conversions.h" | 45 #include "base/strings/string_number_conversions.h" |
| 45 #include "base/strings/string_split.h" | 46 #include "base/strings/string_split.h" |
| 46 #include "base/strings/stringize_macros.h" | 47 #include "base/strings/stringize_macros.h" |
| 47 #include "base/strings/stringprintf.h" | 48 #include "base/strings/stringprintf.h" |
| 48 #include "base/strings/utf_string_conversions.h" | 49 #include "base/strings/utf_string_conversions.h" |
| 49 #include "base/synchronization/condition_variable.h" | 50 #include "base/synchronization/condition_variable.h" |
| 50 #include "base/synchronization/lock.h" | 51 #include "base/synchronization/lock.h" |
| (...skipping 1864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1915 media::g_thumbnail_output_dir = base::FilePath(it->second.c_str()); | 1916 media::g_thumbnail_output_dir = base::FilePath(it->second.c_str()); |
| 1916 } | 1917 } |
| 1917 } | 1918 } |
| 1918 | 1919 |
| 1919 base::ShadowingAtExitManager at_exit_manager; | 1920 base::ShadowingAtExitManager at_exit_manager; |
| 1920 | 1921 |
| 1921 return base::LaunchUnitTestsSerially( | 1922 return base::LaunchUnitTestsSerially( |
| 1922 argc, argv, | 1923 argc, argv, |
| 1923 base::Bind(&media::VDATestSuite::Run, base::Unretained(&test_suite))); | 1924 base::Bind(&media::VDATestSuite::Run, base::Unretained(&test_suite))); |
| 1924 } | 1925 } |
| OLD | NEW |