| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ | 5 #ifndef CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ |
| 6 #define CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ | 6 #define CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // Overrides the current process' user data dir. | 23 // Overrides the current process' user data dir. |
| 24 bool OverrideUserDataDir(const FilePath& user_data_dir) WARN_UNUSED_RESULT; | 24 bool OverrideUserDataDir(const FilePath& user_data_dir) WARN_UNUSED_RESULT; |
| 25 | 25 |
| 26 // Override the GL implementation. The names are the same as for the --use-gl | 26 // Override the GL implementation. The names are the same as for the --use-gl |
| 27 // command line switch. Use the constants in the gfx namespace. | 27 // command line switch. Use the constants in the gfx namespace. |
| 28 bool OverrideGLImplementation( | 28 bool OverrideGLImplementation( |
| 29 CommandLine* command_line, | 29 CommandLine* command_line, |
| 30 const std::string& implementation_name) WARN_UNUSED_RESULT; | 30 const std::string& implementation_name) WARN_UNUSED_RESULT; |
| 31 | 31 |
| 32 // Returns test termination tiemout based on test name | |
| 33 // and a default timeout. Makes it possible to override | |
| 34 // the default timeout using command-line or test prefix. | |
| 35 int GetTestTerminationTimeout(const std::string& test_name, | |
| 36 int default_timeout_ms); | |
| 37 | |
| 38 } // namespace test_launcher_utils | 32 } // namespace test_launcher_utils |
| 39 | 33 |
| 40 #endif // CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ | 34 #endif // CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ |
| OLD | NEW |