| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 5 #ifndef BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
| 6 #define BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 6 #define BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 TestResultsTracker results_tracker_; | 222 TestResultsTracker results_tracker_; |
| 223 | 223 |
| 224 // Watchdog timer to make sure we do not go without output for too long. | 224 // Watchdog timer to make sure we do not go without output for too long. |
| 225 DelayTimer watchdog_timer_; | 225 DelayTimer watchdog_timer_; |
| 226 | 226 |
| 227 // Number of jobs to run in parallel. | 227 // Number of jobs to run in parallel. |
| 228 size_t parallel_jobs_; | 228 size_t parallel_jobs_; |
| 229 | 229 |
| 230 // Worker pool used to launch processes in parallel. | 230 // Worker pool used to launch processes in parallel. |
| 231 scoped_ptr<SequencedWorkerPoolOwner> worker_pool_owner_; | 231 std::unique_ptr<SequencedWorkerPoolOwner> worker_pool_owner_; |
| 232 | 232 |
| 233 DISALLOW_COPY_AND_ASSIGN(TestLauncher); | 233 DISALLOW_COPY_AND_ASSIGN(TestLauncher); |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 // Extract part from |full_output| that applies to |result|. | 236 // Extract part from |full_output| that applies to |result|. |
| 237 std::string GetTestOutputSnippet(const TestResult& result, | 237 std::string GetTestOutputSnippet(const TestResult& result, |
| 238 const std::string& full_output); | 238 const std::string& full_output); |
| 239 | 239 |
| 240 } // namespace base | 240 } // namespace base |
| 241 | 241 |
| 242 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 242 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
| OLD | NEW |