// 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 BASE_TASK_DELAYED_TASK_HANDLE_H_ #define BASE_TASK_DELAYED_TASK_HANDLE_H_ #include <memory> #include "base/base_export.h" namespace base { // A handle to a delayed task which can be used to cancel the posted task. Not // thread-safe, can only be held and invoked from the posting sequence. class BASE_EXPORT DelayedTaskHandle { … }; } // namespace base #endif // BASE_TASK_DELAYED_TASK_HANDLE_H_