#include "cc/trees/latency_info_swap_promise_monitor.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include "cc/trees/latency_info_swap_promise.h"
#include "cc/trees/layer_tree_host_impl.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/swap_promise_manager.h"
namespace {
bool AddRenderingScheduledComponent(ui::LatencyInfo* latency_info,
bool on_main) { … }
}
namespace cc {
LatencyInfoSwapPromiseMonitor::LatencyInfoSwapPromiseMonitor(
ui::LatencyInfo* latency,
SwapPromiseManager* swap_promise_manager)
: … { … }
LatencyInfoSwapPromiseMonitor::LatencyInfoSwapPromiseMonitor(
ui::LatencyInfo* latency,
LayerTreeHostImpl* host_impl)
: … { … }
LatencyInfoSwapPromiseMonitor::~LatencyInfoSwapPromiseMonitor() { … }
void LatencyInfoSwapPromiseMonitor::OnSetNeedsCommitOnMain() { … }
void LatencyInfoSwapPromiseMonitor::OnSetNeedsRedrawOnImpl() { … }
}