OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BASE_TASK_SCHEDULER_TEST_UTILS_H_ | |
6 #define BASE_TASK_SCHEDULER_TEST_UTILS_H_ | |
7 | |
8 namespace base { | |
9 namespace internal { | |
10 namespace test { | |
11 | |
12 // Type of TaskRunner to which a task was posted. | |
gab
2016/10/31 19:10:11
Change for something like:
// An enumeration of p
fdoray
2016/10/31 19:44:52
Done.
| |
13 enum class ExecutionMode { | |
14 // Task posted to a TaskRunner. | |
15 PARALLEL, | |
16 | |
17 // Task posted to a SequencedTaskRunner. | |
18 SEQUENCED, | |
19 | |
20 // Task posted to a SingleThreadTaskRunner. | |
21 SINGLE_THREADED | |
22 }; | |
23 | |
24 } // namespace test | |
25 } // namespace internal | |
26 } // namespace base | |
27 | |
28 #endif // BASE_TASK_SCHEDULER_TEST_UTILS_H_ | |
OLD | NEW |