| Index: ppapi/proxy/resource_message_params.cc
|
| diff --git a/ppapi/proxy/resource_message_params.cc b/ppapi/proxy/resource_message_params.cc
|
| index 6d3fa02f465236e903b54445ca1c8700cce15aa2..763af72e298be207291f57cde4f382fc685efb87 100644
|
| --- a/ppapi/proxy/resource_message_params.cc
|
| +++ b/ppapi/proxy/resource_message_params.cc
|
| @@ -70,6 +70,15 @@ bool ResourceMessageParams::GetSocketHandleAtIndex(
|
| return true;
|
| }
|
|
|
| +void ResourceMessageParams::GetAllSharedMemoryHandles(
|
| + std::vector<base::SharedMemoryHandle>* handles) const {
|
| + for (size_t i = 0; i < handles_.size(); ++i) {
|
| + base::SharedMemoryHandle handle;
|
| + if (GetSharedMemoryHandleAtIndex(i, &handle));
|
| + handles->push_back(handle);
|
| + }
|
| +}
|
| +
|
| void ResourceMessageParams::AppendHandle(const SerializedHandle& handle) {
|
| handles_.push_back(handle);
|
| }
|
|
|