#ifndef COMPONENTS_VIZ_TEST_SURFACE_ID_ALLOCATOR_SET_H_
#define COMPONENTS_VIZ_TEST_SURFACE_ID_ALLOCATOR_SET_H_
#include <map>
#include "components/viz/common/surfaces/parent_local_surface_id_allocator.h"
namespace viz {
class SurfaceIdAllocatorSet {
public:
SurfaceIdAllocatorSet();
~SurfaceIdAllocatorSet();
ParentLocalSurfaceIdAllocator* GetAllocator(const FrameSinkId& frame_sink_id);
SurfaceId MakeSurfaceId(const FrameSinkId& frame_sink_id,
uint32_t parent_sequence_number,
uint32_t child_sequence_number = 1);
private:
std::map<FrameSinkId, ParentLocalSurfaceIdAllocator> allocators_;
};
}
#endif