chromium/third_party/blink/renderer/platform/scheduler/main_thread/use_case.h

// Copyright 2018 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_RENDERER_PLATFORM_SCHEDULER_MAIN_THREAD_USE_CASE_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_SCHEDULER_MAIN_THREAD_USE_CASE_H_

#include "third_party/blink/renderer/platform/platform_export.h"

namespace blink::scheduler {

// `UseCase` encapsulates several high-level states that are use to apply
// different scheduling policies, e.g. compositor task queue priority, RAIL
// mode, and task deferral.
enum class UseCase {};

PLATFORM_EXPORT const char* UseCaseToString(UseCase);

}  // namespace blink::scheduler

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_SCHEDULER_MAIN_THREAD_USE_CASE_H_