chromium/ash/public/cpp/personalization_app/time_of_day_test_utils.cc

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

#include "ash/public/cpp/personalization_app/time_of_day_test_utils.h"

#include "ash/constants/ash_features.h"
#include "chromeos/constants/chromeos_features.h"

namespace ash::personalization_app {

namespace {

std::vector<base::test::FeatureRef> GetTimeOfDayFeatures() {
  return {features::kFeatureManagementTimeOfDayWallpaper,
          features::kFeatureManagementTimeOfDayScreenSaver};
}

}  // namespace

std::vector<base::test::FeatureRef> GetTimeOfDayEnabledFeatures() {
  std::vector<base::test::FeatureRef> enabled_features = GetTimeOfDayFeatures();
  enabled_features.push_back(chromeos::features::kJelly);
  return enabled_features;
}

std::vector<base::test::FeatureRef> GetTimeOfDayDisabledFeatures() {
  return GetTimeOfDayFeatures();
}

}  // namespace ash::personalization_app