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

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

Issue 2464963002: TaskScheduler: Remove base::ExecutionMode. (Closed)
Patch Set: self-review 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698