DescriptionAdd a GUID to base::SharedMemoryHandle.
This allows SharedMemoryHandle to be tracked across processes.
SharedMemoryHandles that point to the same region should have the same GUID.
This CL does not finish all of the GUID plumbing. The following still needs to
be done:
* Passing GUID through Mojo. rockot@ has said that he will do this and TODOs
have been left for him in the code.
* Passing GUID for base::FieldTrial, which requires a SharedMemoryHandle
shortly after proess launch, before IPC is set up.
* Updating ArcGpuVideoDecodeAccelerator to use mojo ScopedHandles instead of
fds.
* Updating serialization of gfx::GpuMemoryBufferHandle to pass through shared
buffer handles instead of generic handles.
BUG=713763
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng
Review-Url: https://codereview.chromium.org/2859843002
Cr-Commit-Position: refs/heads/master@{#469877}
Committed: https://chromium.googlesource.com/chromium/src/+/145252018a78e2102e148f238970fd411e10a706
Patch Set 1 #Patch Set 2 : More fixes #Patch Set 3 : More fixes. #Patch Set 4 : Compile fixes. #Patch Set 5 : compile errors. #Patch Set 6 : Compile errors. #Patch Set 7 : Compile error. #Patch Set 8 : Compile fixes. #
Total comments: 14
Patch Set 9 : Comments from wfh, rockot, thakis. #Patch Set 10 : update comment. #Patch Set 11 : windows compile errors. #Patch Set 12 : comments from thakis. #Patch Set 13 : More typos. #Patch Set 14 : compile erorr #Patch Set 15 : fix ppapi error. #Patch Set 16 : accidentally dupicated line #
Total comments: 2
Patch Set 17 : Check validity before writing handle. #
Total comments: 8
Patch Set 18 : comments form thakis and fix bootstrap.py #Patch Set 19 : fix guid on android. #Messages
Total messages: 89 (63 generated)
|