1 // Copyright 2018 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_SEQUENCE_MANAGER_TEST_FAKE_TASK_H_ 6 #define BASE_TASK_SEQUENCE_MANAGER_TEST_FAKE_TASK_H_ 7 8 #include "base/task/sequence_manager/task_queue.h" 9 10 namespace base { 11 namespace sequence_manager { 12 13 class FakeTask : public TaskQueue::Task { 14 public: 15 FakeTask(); 16 }; 17 18 class FakeTaskTiming : public TaskQueue::TaskTiming { 19 public: 20 FakeTaskTiming(); 21 FakeTaskTiming(TimeTicks start, TimeTicks end); 22 FakeTaskTiming(TimeTicks start, 23 TimeTicks end, 24 ThreadTicks thread_start, 25 ThreadTicks thread_end); 26 }; 27 28 } // namespace sequence_manager 29 } // namespace base 30 31 #endif // BASE_TASK_SEQUENCE_MANAGER_TEST_FAKE_TASK_H_ 32