// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_IDLE_IDLE_POLLING_SERVICE_H_ #define UI_BASE_IDLE_IDLE_POLLING_SERVICE_H_ #include <memory> #include "base/component_export.h" #include "base/memory/scoped_refptr.h" #include "base/no_destructor.h" #include "base/observer_list.h" #include "base/observer_list_types.h" #include "base/time/time.h" #include "base/timer/timer.h" namespace base { class SequencedTaskRunner; } // namespace base namespace ui { class IdleTimeProvider; // Polls the system to determine whether the user is idle or the screen is // locked and notifies observers. class COMPONENT_EXPORT(UI_BASE_IDLE) IdlePollingService { … }; } // namespace ui #endif // UI_BASE_IDLE_IDLE_POLLING_SERVICE_H_