Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: base/test/launcher/test_launcher.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/test/histogram_tester_unittest.cc ('k') | base/test/launcher/test_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « base/test/histogram_tester_unittest.cc ('k') | base/test/launcher/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698