#include "components/viz/common/surfaces/parent_local_surface_id_allocator.h"
#include "base/rand_util.h"
#include "base/trace_event/trace_event.h"
namespace viz {
constexpr LocalSurfaceId g_invalid_local_surface_id;
ParentLocalSurfaceIdAllocator::ParentLocalSurfaceIdAllocator()
: … { … }
bool ParentLocalSurfaceIdAllocator::UpdateFromChild(
const LocalSurfaceId& child_local_surface_id) { … }
void ParentLocalSurfaceIdAllocator::Invalidate(
bool also_invalidate_allocation_group) { … }
void ParentLocalSurfaceIdAllocator::GenerateId() { … }
const LocalSurfaceId& ParentLocalSurfaceIdAllocator::GetCurrentLocalSurfaceId()
const { … }
bool ParentLocalSurfaceIdAllocator::HasValidLocalSurfaceId() const { … }
const base::UnguessableToken& ParentLocalSurfaceIdAllocator::GetEmbedToken()
const { … }
const LocalSurfaceId& ParentLocalSurfaceIdAllocator::InvalidLocalSurfaceId() { … }
}