// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_VIZ_SERVICE_PERFORMANCE_HINT_HINT_SESSION_H_ #define COMPONENTS_VIZ_SERVICE_PERFORMANCE_HINT_HINT_SESSION_H_ #include <memory> #include "base/containers/flat_set.h" #include "base/threading/platform_thread.h" #include "components/viz/service/viz_service_export.h" namespace viz { // This is a wrapper for the Android `android.os.PerformanceHintManager` APIs // used to provide hints to the OS on rendering performance, so the OS can // ramp CPU performance up or down on demand. // This header is platform-agnostic though it's only implemented on Android class VIZ_SERVICE_EXPORT HintSession { … }; class VIZ_SERVICE_EXPORT HintSessionFactory { … }; } // namespace viz #endif // COMPONENTS_VIZ_SERVICE_PERFORMANCE_HINT_HINT_SESSION_H_