SerializedHandle is a unified structure for holding a handle (e.g., a shared memory handle, socket descriptor, etc) that is used in pepper. It should be possible to use with new shared memory classes.
During the transition period SerializedHandle should support both the old and the new shared memory classes, thus I propose to add a new SerializedHandle::Type::SHARED_MEMORY_REGION and add a base::subtle::PlatformSharedMemoryRegion member into the class. Later, the old SHARED_MEMORY type will be removed along with the base::SharedMemoryHandle member.
Comment 1 by alexilin@chromium.org
, May 24 2018