chromium/third_party/blink/common/scheduler/web_scheduler_tracked_feature.cc

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

#include "third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h"

#include <atomic>
#include <map>
#include <vector>

namespace blink {
namespace scheduler {

namespace {

std::atomic_bool disable_align_wake_ups{};

struct FeatureNames {};

FeatureNames FeatureToNames(WebSchedulerTrackedFeature feature) {}

std::map<std::string, WebSchedulerTrackedFeature> MakeShortNameToFeature() {}

const std::map<std::string, WebSchedulerTrackedFeature>&
ShortStringToFeatureMap() {}

}  // namespace

std::string FeatureToHumanReadableString(WebSchedulerTrackedFeature feature) {}

std::string FeatureToShortString(WebSchedulerTrackedFeature feature) {}

std::optional<WebSchedulerTrackedFeature> StringToFeature(
    const std::string& str) {}

bool IsRemovedFeature(const std::string& feature) {}

bool IsFeatureSticky(WebSchedulerTrackedFeature feature) {}

WebSchedulerTrackedFeatures StickyFeatures() {}

// static
void DisableAlignWakeUpsForProcess() {}

// static
bool IsAlignWakeUpsDisabledForProcess() {}

}  // namespace scheduler
}  // namespace blink