DescriptionRefactor params of NaClProcessMsg_Start.
This is a preparation to remove the resource leak related to NaClProcessMsg_Start IPC message.
- Get rid of std::pair<std::string, std::string> for the prefetch request, instead introduced a struct NaClResourcePrefetchRequest.
- Use the struct for JsonManifest::GetPrefetchableFiles.
- Expand handles to named fields to CHECK the passed handles more properly in nacl_listener.cc
- Get rid of nacl::FileDescriptor for the param, instead use IPC::PlatformFileForTransit.
TEST=Ran bots.
BUG=358417
Committed: https://crrev.com/0e949f991ae48c1f4ef91e78a96f986931093220
Cr-Commit-Position: refs/heads/master@{#327666}
Patch Set 1 #Patch Set 2 : #
Total comments: 15
Patch Set 3 : Rebase #Patch Set 4 : #
Total comments: 18
Patch Set 5 : Rebase. #Patch Set 6 : #
Total comments: 2
Patch Set 7 : #Patch Set 8 : Rebase #
Total comments: 1
Messages
Total messages: 28 (8 generated)
|