#include "components/paint_preview/browser/warm_compositor.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/singleton.h"
#include "components/paint_preview/browser/compositor_utils.h"
namespace paint_preview {
WarmCompositor::WarmCompositor()
: … { … }
WarmCompositor::~WarmCompositor() = default;
WarmCompositor* WarmCompositor::GetInstance() { … }
void WarmCompositor::WarmupCompositor() { … }
bool WarmCompositor::StopCompositor() { … }
std::unique_ptr<PaintPreviewCompositorService, base::OnTaskRunnerDeleter>
WarmCompositor::GetOrStartCompositorService(
base::OnceClosure disconnect_handler) { … }
void WarmCompositor::OnDisconnect() { … }
}