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

Side by Side Diff: base/task_scheduler/test_task_factory.h

Issue 2464963002: TaskScheduler: Remove base::ExecutionMode. (Closed)
Patch Set: CR danakj #17 Created 4 years, 1 month 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_traits.cc ('k') | base/task_scheduler/test_utils.h » ('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 #ifndef BASE_TASK_SCHEDULER_TEST_TASK_FACTORY_H_ 5 #ifndef BASE_TASK_SCHEDULER_TEST_TASK_FACTORY_H_
6 #define BASE_TASK_SCHEDULER_TEST_TASK_FACTORY_H_ 6 #define BASE_TASK_SCHEDULER_TEST_TASK_FACTORY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <unordered_set> 10 #include <unordered_set>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/synchronization/condition_variable.h" 15 #include "base/synchronization/condition_variable.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "base/task_runner.h" 17 #include "base/task_runner.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/threading/thread_checker_impl.h" 20 #include "base/threading/thread_checker_impl.h"
20 21
21 namespace base { 22 namespace base {
22 23
23 class WaitableEvent; 24 class WaitableEvent;
24 25
25 namespace internal { 26 namespace internal {
26 namespace test { 27 namespace test {
27 28
28 // A TestTaskFactory posts tasks to a TaskRunner and verifies that they run as 29 // A TestTaskFactory posts tasks to a TaskRunner and verifies that they run as
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 ThreadCheckerImpl thread_checker_; 93 ThreadCheckerImpl thread_checker_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(TestTaskFactory); 95 DISALLOW_COPY_AND_ASSIGN(TestTaskFactory);
95 }; 96 };
96 97
97 } // namespace test 98 } // namespace test
98 } // namespace internal 99 } // namespace internal
99 } // namespace base 100 } // namespace base
100 101
101 #endif // BASE_TASK_SCHEDULER_TEST_TASK_FACTORY_H_ 102 #endif // BASE_TASK_SCHEDULER_TEST_TASK_FACTORY_H_
OLDNEW
« no previous file with comments | « base/task_scheduler/task_traits.cc ('k') | base/task_scheduler/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698