| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This class defines tests that implementations of SequencedTaskRunner should | 5 // This class defines tests that implementations of SequencedTaskRunner should |
| 6 // pass in order to be conformant. See task_runner_test_template.h for a | 6 // pass in order to be conformant. See task_runner_test_template.h for a |
| 7 // description of how to use the constructs in this file; these work the same. | 7 // description of how to use the constructs in this file; these work the same. |
| 8 | 8 |
| 9 #ifndef BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ | 9 #ifndef BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ |
| 10 #define BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ | 10 #define BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ |
| 11 #pragma once | |
| 12 | 11 |
| 13 #include <cstddef> | 12 #include <cstddef> |
| 14 #include <iosfwd> | 13 #include <iosfwd> |
| 15 #include <vector> | 14 #include <vector> |
| 16 | 15 |
| 17 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 18 #include "base/bind.h" | 17 #include "base/bind.h" |
| 19 #include "base/callback.h" | 18 #include "base/callback.h" |
| 20 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 21 #include "base/sequenced_task_runner.h" | 20 #include "base/sequenced_task_runner.h" |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 233 |
| 235 REGISTER_TYPED_TEST_CASE_P(SequencedTaskRunnerTest, | 234 REGISTER_TYPED_TEST_CASE_P(SequencedTaskRunnerTest, |
| 236 SequentialNonNestable, | 235 SequentialNonNestable, |
| 237 SequentialNestable, | 236 SequentialNestable, |
| 238 SequentialDelayedNonNestable, | 237 SequentialDelayedNonNestable, |
| 239 NonNestablePostFromNonNestableTask); | 238 NonNestablePostFromNonNestableTask); |
| 240 | 239 |
| 241 } // namespace base | 240 } // namespace base |
| 242 | 241 |
| 243 #endif // BASE_TASK_RUNNER_TEST_TEMPLATE_H_ | 242 #endif // BASE_TASK_RUNNER_TEST_TEMPLATE_H_ |
| OLD | NEW |