| Index: mojo/public/platform/native/system_thunks.h
|
| diff --git a/mojo/public/platform/native/system_thunks.h b/mojo/public/platform/native/system_thunks.h
|
| index 23f7d69f521a3800622ce76cc685662e9dcbb6ef..3650d1f6c8de47def676306866e02457b364a99e 100644
|
| --- a/mojo/public/platform/native/system_thunks.h
|
| +++ b/mojo/public/platform/native/system_thunks.h
|
| @@ -127,6 +127,11 @@ struct MojoSystemThunks {
|
| struct MojoDataPipeProducerOptions* options,
|
| uint32_t options_num_bytes);
|
| MojoResult (*GetRights)(MojoHandle handle, MojoHandleRights* rights);
|
| + MojoResult (*DuplicateHandleWithReducedRights)(
|
| + MojoHandle handle,
|
| + MojoHandleRights rights_to_remove,
|
| + MojoHandle* new_handle);
|
| + MojoResult (*DuplicateHandle)(MojoHandle handle, MojoHandle* new_handle);
|
| };
|
| #pragma pack(pop)
|
|
|
| @@ -161,6 +166,8 @@ inline MojoSystemThunks MojoMakeSystemThunks() {
|
| MojoSetDataPipeProducerOptions,
|
| MojoGetDataPipeProducerOptions,
|
| MojoGetRights,
|
| + MojoDuplicateHandleWithReducedRights,
|
| + MojoDuplicateHandle,
|
| };
|
| return system_thunks;
|
| }
|
|
|