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

Side by Side Diff: base/task_scheduler/task_tracker_unittest.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/task_scheduler/task_tracker.cc ('k') | base/task_scheduler/test_task_factory.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/task_scheduler/task_tracker.h" 5 #include "base/task_scheduler/task_tracker.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/sequenced_task_runner.h" 14 #include "base/sequenced_task_runner.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/synchronization/waitable_event.h" 16 #include "base/synchronization/waitable_event.h"
17 #include "base/task_scheduler/task.h" 17 #include "base/task_scheduler/task.h"
18 #include "base/task_scheduler/task_traits.h" 18 #include "base/task_scheduler/task_traits.h"
19 #include "base/task_scheduler/test_utils.h" 19 #include "base/task_scheduler/test_utils.h"
20 #include "base/test/test_simple_task_runner.h" 20 #include "base/test/test_simple_task_runner.h"
21 #include "base/thread_task_runner_handle.h"
22 #include "base/threading/platform_thread.h" 21 #include "base/threading/platform_thread.h"
23 #include "base/threading/sequenced_task_runner_handle.h" 22 #include "base/threading/sequenced_task_runner_handle.h"
24 #include "base/threading/simple_thread.h" 23 #include "base/threading/simple_thread.h"
25 #include "base/threading/thread_restrictions.h" 24 #include "base/threading/thread_restrictions.h"
25 #include "base/threading/thread_task_runner_handle.h"
26 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
27 27
28 namespace base { 28 namespace base {
29 namespace internal { 29 namespace internal {
30 30
31 namespace { 31 namespace {
32 32
33 // Calls TaskTracker::Shutdown() asynchronously. 33 // Calls TaskTracker::Shutdown() asynchronously.
34 class ThreadCallingShutdown : public SimpleThread { 34 class ThreadCallingShutdown : public SimpleThread {
35 public: 35 public:
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 SkipOnShutdown, 415 SkipOnShutdown,
416 TaskSchedulerTaskTrackerTest, 416 TaskSchedulerTaskTrackerTest,
417 ::testing::Values(TaskShutdownBehavior::SKIP_ON_SHUTDOWN)); 417 ::testing::Values(TaskShutdownBehavior::SKIP_ON_SHUTDOWN));
418 INSTANTIATE_TEST_CASE_P( 418 INSTANTIATE_TEST_CASE_P(
419 BlockShutdown, 419 BlockShutdown,
420 TaskSchedulerTaskTrackerTest, 420 TaskSchedulerTaskTrackerTest,
421 ::testing::Values(TaskShutdownBehavior::BLOCK_SHUTDOWN)); 421 ::testing::Values(TaskShutdownBehavior::BLOCK_SHUTDOWN));
422 422
423 } // namespace internal 423 } // namespace internal
424 } // namespace base 424 } // namespace base
OLDNEW
« no previous file with comments | « base/task_scheduler/task_tracker.cc ('k') | base/task_scheduler/test_task_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698