mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-25 06:46:09 +03:00
33 lines
876 B
C
33 lines
876 B
C
|
// Copyright 2018 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_SEQUENCE_MANAGER_TEST_FAKE_TASK_H_
|
||
|
#define BASE_TASK_SEQUENCE_MANAGER_TEST_FAKE_TASK_H_
|
||
|
|
||
|
#include "base/task/sequence_manager/task_queue.h"
|
||
|
|
||
|
namespace base {
|
||
|
namespace sequence_manager {
|
||
|
|
||
|
class FakeTask : public TaskQueue::Task {
|
||
|
public:
|
||
|
FakeTask();
|
||
|
explicit FakeTask(int task_type);
|
||
|
};
|
||
|
|
||
|
class FakeTaskTiming : public TaskQueue::TaskTiming {
|
||
|
public:
|
||
|
FakeTaskTiming();
|
||
|
FakeTaskTiming(TimeTicks start, TimeTicks end);
|
||
|
FakeTaskTiming(TimeTicks start,
|
||
|
TimeTicks end,
|
||
|
ThreadTicks thread_start,
|
||
|
ThreadTicks thread_end);
|
||
|
};
|
||
|
|
||
|
} // namespace sequence_manager
|
||
|
} // namespace base
|
||
|
|
||
|
#endif // BASE_TASK_SEQUENCE_MANAGER_TEST_FAKE_TASK_H_
|