chromium/components/paint_preview/browser/paint_preview_compositor_service_impl.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/paint_preview/browser/paint_preview_compositor_service_impl.h"

#include "base/functional/callback.h"
#include "base/task/bind_post_task.h"
#include "base/task/sequenced_task_runner.h"
#include "components/paint_preview/browser/compositor_utils.h"
#include "components/paint_preview/browser/paint_preview_compositor_client_impl.h"
#include "components/paint_preview/public/paint_preview_compositor_client.h"

namespace paint_preview {

PaintPreviewCompositorServiceImpl::PaintPreviewCompositorServiceImpl(
    mojo::PendingRemote<mojom::PaintPreviewCompositorCollection> pending_remote,
    scoped_refptr<base::SequencedTaskRunner> compositor_task_runner_,
    base::OnceClosure disconnect_handler)
    :{}

// The destructor for the |compositor_service_| will automatically result in any
// active compositors being killed.
PaintPreviewCompositorServiceImpl::~PaintPreviewCompositorServiceImpl() {}

std::unique_ptr<PaintPreviewCompositorClient, base::OnTaskRunnerDeleter>
PaintPreviewCompositorServiceImpl::CreateCompositor(
    base::OnceClosure connected_closure) {}

void PaintPreviewCompositorServiceImpl::OnMemoryPressure(
    base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level) {}

bool PaintPreviewCompositorServiceImpl::HasActiveClients() const {}

void PaintPreviewCompositorServiceImpl::SetDisconnectHandler(
    base::OnceClosure disconnect_handler) {}

void PaintPreviewCompositorServiceImpl::MarkCompositorAsDeleted(
    const base::UnguessableToken& token) {}

const base::flat_set<base::UnguessableToken>&
PaintPreviewCompositorServiceImpl::ActiveClientsForTesting() const {}

void PaintPreviewCompositorServiceImpl::OnCompositorCreated(
    const base::UnguessableToken& token) {}

void PaintPreviewCompositorServiceImpl::DisconnectHandler() {}

}  // namespace paint_preview