// Copyright 2011 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_PENDING_TASK_H_ #define BASE_PENDING_TASK_H_ #include <array> #include "base/base_export.h" #include "base/functional/callback.h" #include "base/location.h" #include "base/task/delay_policy.h" #include "base/time/time.h" namespace base { enum class Nestable : uint8_t { … }; // Copyable data part of PendingTask. struct BASE_EXPORT TaskMetadata { … }; // Contains data about a pending task. Stored in TaskQueue and DelayedTaskQueue // for use by classes that queue and execute tasks. struct BASE_EXPORT PendingTask : public TaskMetadata { … }; } // namespace base #endif // BASE_PENDING_TASK_H_