#include "third_party/blink/renderer/core/loader/long_task_detector.h"
#include "base/time/time.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread.h"
#include "third_party/blink/renderer/platform/wtf/wtf.h"
namespace blink {
constexpr base::TimeDelta LongTaskDetector::kLongTaskThreshold;
LongTaskDetector& LongTaskDetector::Instance() { … }
LongTaskDetector::LongTaskDetector() = default;
void LongTaskDetector::RegisterObserver(LongTaskObserver* observer) { … }
void LongTaskDetector::UnregisterObserver(LongTaskObserver* observer) { … }
void LongTaskDetector::DidProcessTask(base::TimeTicks start_time,
base::TimeTicks end_time) { … }
void LongTaskDetector::Trace(Visitor* visitor) const { … }
}