| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef BASE_TEST_TEST_MOCK_TIME_TASK_RUNNER_H_ | 5 #ifndef BASE_TEST_TEST_MOCK_TIME_TASK_RUNNER_H_ |
| 6 #define BASE_TEST_TEST_MOCK_TIME_TASK_RUNNER_H_ | 6 #define BASE_TEST_TEST_MOCK_TIME_TASK_RUNNER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <queue> | 10 #include <queue> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 14 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 15 #include "base/test/test_pending_task.h" | 17 #include "base/test/test_pending_task.h" |
| 16 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 17 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 size_t next_task_ordinal_; | 158 size_t next_task_ordinal_; |
| 157 | 159 |
| 158 Lock tasks_lock_; | 160 Lock tasks_lock_; |
| 159 | 161 |
| 160 DISALLOW_COPY_AND_ASSIGN(TestMockTimeTaskRunner); | 162 DISALLOW_COPY_AND_ASSIGN(TestMockTimeTaskRunner); |
| 161 }; | 163 }; |
| 162 | 164 |
| 163 } // namespace base | 165 } // namespace base |
| 164 | 166 |
| 165 #endif // BASE_TEST_TEST_MOCK_TIME_TASK_RUNNER_H_ | 167 #endif // BASE_TEST_TEST_MOCK_TIME_TASK_RUNNER_H_ |
| OLD | NEW |