| 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_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ | 9 #ifndef BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ |
| 10 #define BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ | 10 #define BASE_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ |
| 11 | 11 |
| 12 #include <cstddef> | 12 #include <cstddef> |
| 13 #include <iosfwd> | 13 #include <iosfwd> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 17 #include "base/bind.h" | 17 #include "base/bind.h" |
| 18 #include "base/callback.h" | 18 #include "base/callback.h" |
| 19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 20 #include "base/sequenced_task_runner.h" | 20 #include "base/sequenced_task_runner.h" |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 SequentialNestable, | 331 SequentialNestable, |
| 332 SequentialDelayedNonNestable, | 332 SequentialDelayedNonNestable, |
| 333 NonNestablePostFromNonNestableTask, | 333 NonNestablePostFromNonNestableTask, |
| 334 DelayedTaskBasic, | 334 DelayedTaskBasic, |
| 335 DelayedTasksSameDelay, | 335 DelayedTasksSameDelay, |
| 336 DelayedTaskAfterLongTask, | 336 DelayedTaskAfterLongTask, |
| 337 DelayedTaskAfterManyLongTasks); | 337 DelayedTaskAfterManyLongTasks); |
| 338 | 338 |
| 339 } // namespace base | 339 } // namespace base |
| 340 | 340 |
| 341 #endif // BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ | 341 #endif // BASE_TASK_RUNNER_TEST_TEMPLATE_H_ |
| OLD | NEW |