#include "cc/trees/latency_info_swap_promise.h"
#include <stdint.h>
#include "base/check.h"
#include "base/time/time.h"
#include "base/trace_event/trace_event.h"
#include "services/tracing/public/cpp/perfetto/flow_event_utils.h"
#include "services/tracing/public/cpp/perfetto/macros.h"
namespace cc {
LatencyInfoSwapPromise::LatencyInfoSwapPromise(const ui::LatencyInfo& latency)
: … { … }
LatencyInfoSwapPromise::~LatencyInfoSwapPromise() = default;
void LatencyInfoSwapPromise::WillSwap(viz::CompositorFrameMetadata* metadata) { … }
void LatencyInfoSwapPromise::DidSwap() { … }
SwapPromise::DidNotSwapAction LatencyInfoSwapPromise::DidNotSwap(
DidNotSwapReason reason,
base::TimeTicks ts) { … }
int64_t LatencyInfoSwapPromise::GetTraceId() const { … }
void LatencyInfoSwapPromise::OnCommit() { … }
}