chromium/third_party/blink/public/common/scheduler/task_attribution_id.h

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_SCHEDULER_TASK_ATTRIBUTION_ID_H_
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_SCHEDULER_TASK_ATTRIBUTION_ID_H_

#include <compare>
#include <cstdint>

namespace blink::scheduler {

TaskAttributionIdType;

// TaskAttributionId represents the ID of a task scope, encompassing a task and
// its continuations. It enables comparison and incrementation operations on it,
// while abstracting the underlying value from callers.
class TaskAttributionId {};

}  // namespace blink::scheduler

#endif  // THIRD_PARTY_BLINK_PUBLIC_COMMON_SCHEDULER_TASK_ATTRIBUTION_ID_H_