#include "base/features.h"
#include "base/cpu_reduction_experiment.h"
#include "base/task/sequence_manager/sequence_manager_impl.h"
#include "base/threading/platform_thread.h"
#include "build/buildflag.h"
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
#include "base/message_loop/message_pump_epoll.h"
#endif
#if BUILDFLAG(IS_APPLE)
#include "base/files/file.h"
#include "base/message_loop/message_pump_apple.h"
#include "base/message_loop/message_pump_kqueue.h"
#include "base/synchronization/condition_variable.h"
#endif
#if BUILDFLAG(IS_ANDROID)
#include "base/android/input_hint_checker.h"
#endif
#if BUILDFLAG(IS_WIN)
#include "base/task/sequence_manager/thread_controller_power_monitor.h"
#include "base/threading/platform_thread_win.h"
#endif
namespace base::features {
BASE_FEATURE(…);
BASE_FEATURE(…);
#if BUILDFLAG(IS_IOS)
#define LOW_MEMORY_DEVICE_THRESHOLD_MB …
#else
#define LOW_MEMORY_DEVICE_THRESHOLD_MB …
#endif
BASE_FEATURE(…);
const base::FeatureParam<int> kLowMemoryDeviceThresholdMB{ … };
BASE_FEATURE(…);
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
BASE_FEATURE(kPartialLowEndModeOn3GbDevices,
"PartialLowEndModeOn3GbDevices",
FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kPartialLowEndModeOnMidRangeDevices,
"PartialLowEndModeOnMidRangeDevices",
#if BUILDFLAG(IS_ANDROID)
FEATURE_ENABLED_BY_DEFAULT);
#elif BUILDFLAG(IS_CHROMEOS)
FEATURE_DISABLED_BY_DEFAULT);
#endif
#endif
#if BUILDFLAG(IS_ANDROID)
BASE_FEATURE(kCollectAndroidFrameTimelineMetrics,
"CollectAndroidFrameTimelineMetrics",
FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kPostPowerMonitorBroadcastReceiverInitToBackground,
"PostPowerMonitorBroadcastReceiverInitToBackground",
FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kPostGetMyMemoryStateToBackground,
"PostGetMyMemoryStateToBackground",
FEATURE_DISABLED_BY_DEFAULT);
#endif
void Init(EmitThreadControllerProfilerMetadata
emit_thread_controller_profiler_metadata) { … }
}