| Index: content/public/common/sandbox_init.h
|
| diff --git a/content/public/common/sandbox_init.h b/content/public/common/sandbox_init.h
|
| index 89523239f222ecad4511df6d7582980e1d9ed3f8..24da5a98a8731fc3f651b7e967ce27a3da3319f1 100644
|
| --- a/content/public/common/sandbox_init.h
|
| +++ b/content/public/common/sandbox_init.h
|
| @@ -42,6 +42,15 @@ CONTENT_EXPORT bool BrokerDuplicateHandle(HANDLE source_handle,
|
| DWORD desired_access,
|
| DWORD options);
|
|
|
| +// Inform the current process's sandbox broker (e.g. the broker for
|
| +// 32-bit processes) about a process created under a different sandbox
|
| +// broker (e.g. the broker for 64-bit processes). This allows
|
| +// BrokerDuplicateHandle() to send handles to a process managed by
|
| +// another broker. For example, it allows the 32-bit renderer to send
|
| +// handles to 64-bit NaCl processes. This returns true on success,
|
| +// false otherwise.
|
| +CONTENT_EXPORT bool BrokerAddTargetPeer(HANDLE peer_process);
|
| +
|
| #elif defined(OS_MACOSX)
|
|
|
| // Initialize the sandbox of the given |sandbox_type|, optionally specifying a
|
|
|