Chromium Code Reviews| Index: base/task_scheduler/test_utils.h |
| diff --git a/base/task_scheduler/test_utils.h b/base/task_scheduler/test_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..29274114db9d268ffe9f2f0b6c3d85a1724f547b |
| --- /dev/null |
| +++ b/base/task_scheduler/test_utils.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef BASE_TASK_SCHEDULER_TEST_UTILS_H_ |
| +#define BASE_TASK_SCHEDULER_TEST_UTILS_H_ |
| + |
| +namespace base { |
| +namespace internal { |
| +namespace test { |
| + |
| +// An enumeration of possible task_scheduler TaskRunner types. Used to |
|
danakj
2016/11/01 20:32:11
nit: just "task scheduler" (no underscore) maybe?
fdoray
2016/11/01 20:45:44
Done.
|
| +// parametrize relevant task_scheduler tests. |
| +enum class ExecutionMode { PARALLEL, SEQUENCED, SINGLE_THREADED }; |
| + |
| +} // namespace test |
| +} // namespace internal |
| +} // namespace base |
| + |
| +#endif // BASE_TASK_SCHEDULER_TEST_UTILS_H_ |