#include "cc/trees/swap_promise_manager.h"
#include <utility>
#include "cc/trees/latency_info_swap_promise_monitor.h"
#include "cc/trees/swap_promise.h"
namespace cc {
SwapPromiseManager::SwapPromiseManager() = default;
SwapPromiseManager::~SwapPromiseManager() { … }
void SwapPromiseManager::QueueSwapPromise(
std::unique_ptr<SwapPromise> swap_promise) { … }
void SwapPromiseManager::InsertLatencyInfoSwapPromiseMonitor(
LatencyInfoSwapPromiseMonitor* monitor) { … }
void SwapPromiseManager::RemoveLatencyInfoSwapPromiseMonitor(
LatencyInfoSwapPromiseMonitor* monitor) { … }
void SwapPromiseManager::NotifyLatencyInfoSwapPromiseMonitors() { … }
void SwapPromiseManager::WillCommit() { … }
std::vector<std::unique_ptr<SwapPromise>>
SwapPromiseManager::TakeSwapPromises() { … }
void SwapPromiseManager::BreakSwapPromises(
SwapPromise::DidNotSwapReason reason) { … }
}