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

Side by Side Diff: base/test/launcher/unit_test_launcher.cc

Issue 1968723002: Fix include path for moved thread_task_runner_handle.h header in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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/launcher/test_launcher.cc ('k') | base/threading/post_task_and_reply_impl.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 #include "base/test/launcher/unit_test_launcher.h" 5 #include "base/test/launcher/unit_test_launcher.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/debug/debugger.h" 12 #include "base/debug/debugger.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/format_macros.h" 15 #include "base/format_macros.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
19 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/stl_util.h" 20 #include "base/stl_util.h"
21 #include "base/strings/string_number_conversions.h" 21 #include "base/strings/string_number_conversions.h"
22 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
23 #include "base/sys_info.h" 23 #include "base/sys_info.h"
24 #include "base/test/gtest_xml_util.h" 24 #include "base/test/gtest_xml_util.h"
25 #include "base/test/launcher/test_launcher.h" 25 #include "base/test/launcher/test_launcher.h"
26 #include "base/test/test_switches.h" 26 #include "base/test/test_switches.h"
27 #include "base/test/test_timeouts.h" 27 #include "base/test/test_timeouts.h"
28 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 28 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
29 #include "base/thread_task_runner_handle.h"
30 #include "base/threading/thread_checker.h" 29 #include "base/threading/thread_checker.h"
30 #include "base/threading/thread_task_runner_handle.h"
31 #include "build/build_config.h" 31 #include "build/build_config.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 33
34 namespace base { 34 namespace base {
35 35
36 namespace { 36 namespace {
37 37
38 // This constant controls how many tests are run in a single batch by default. 38 // This constant controls how many tests are run in a single batch by default.
39 const size_t kDefaultTestBatchLimit = 10; 39 const size_t kDefaultTestBatchLimit = 10;
40 40
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 TestLauncher* test_launcher, 627 TestLauncher* test_launcher,
628 const std::vector<std::string>& test_names) { 628 const std::vector<std::string>& test_names) {
629 ThreadTaskRunnerHandle::Get()->PostTask( 629 ThreadTaskRunnerHandle::Get()->PostTask(
630 FROM_HERE, 630 FROM_HERE,
631 Bind(&RunUnitTestsSerially, test_launcher, platform_delegate_, test_names, 631 Bind(&RunUnitTestsSerially, test_launcher, platform_delegate_, test_names,
632 use_job_objects_ ? TestLauncher::USE_JOB_OBJECTS : 0)); 632 use_job_objects_ ? TestLauncher::USE_JOB_OBJECTS : 0));
633 return test_names.size(); 633 return test_names.size();
634 } 634 }
635 635
636 } // namespace base 636 } // namespace base
OLDNEW
« no previous file with comments | « base/test/launcher/test_launcher.cc ('k') | base/threading/post_task_and_reply_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698