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

Side by Side Diff: base/task_scheduler/test_task_factory.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_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 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/test_task_factory.h" 5 #include "base/task_scheduler/test_task_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "base/thread_task_runner_handle.h"
14 #include "base/threading/sequenced_task_runner_handle.h" 13 #include "base/threading/sequenced_task_runner_handle.h"
14 #include "base/threading/thread_task_runner_handle.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace base { 17 namespace base {
18 namespace internal { 18 namespace internal {
19 namespace test { 19 namespace test {
20 20
21 TestTaskFactory::TestTaskFactory(scoped_refptr<TaskRunner> task_runner, 21 TestTaskFactory::TestTaskFactory(scoped_refptr<TaskRunner> task_runner,
22 ExecutionMode execution_mode) 22 ExecutionMode execution_mode)
23 : cv_(&lock_), 23 : cv_(&lock_),
24 task_runner_(std::move(task_runner)), 24 task_runner_(std::move(task_runner)),
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 cv_.Signal(); 97 cv_.Signal();
98 } 98 }
99 99
100 if (!after_task_closure.is_null()) 100 if (!after_task_closure.is_null())
101 after_task_closure.Run(); 101 after_task_closure.Run();
102 } 102 }
103 103
104 } // namespace test 104 } // namespace test
105 } // namespace internal 105 } // namespace internal
106 } // namespace base 106 } // namespace base
OLDNEW
« no previous file with comments | « base/task_scheduler/task_tracker_unittest.cc ('k') | base/test/launcher/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698