#include "components/viz/service/frame_sinks/surface_resource_holder.h"
#include <utility>
#include "base/check.h"
#include "components/viz/service/frame_sinks/surface_resource_holder_client.h"
namespace viz {
ReservedResourceDelegate::~ReservedResourceDelegate() = default;
SurfaceResourceHolder::SurfaceResourceHolder(
SurfaceResourceHolderClient* client)
: … { … }
SurfaceResourceHolder::~SurfaceResourceHolder() = default;
void SurfaceResourceHolder::Reset() { … }
void SurfaceResourceHolder::ReceiveFromChild(
const std::vector<TransferableResource>& resources) { … }
void SurfaceResourceHolder::RefResources(
const std::vector<TransferableResource>& resources) { … }
void SurfaceResourceHolder::UnrefResources(
std::vector<ReturnedResource> resources) { … }
}