| Index: ipc/ipc_platform_file.h
|
| diff --git a/ipc/ipc_platform_file.h b/ipc/ipc_platform_file.h
|
| index d3a605eabffa42d3a490758a3263f03829c8fe23..8fb1a39335c4aacf163d4820566e5708c8f917af 100644
|
| --- a/ipc/ipc_platform_file.h
|
| +++ b/ipc/ipc_platform_file.h
|
| @@ -46,6 +46,12 @@ IPC_EXPORT PlatformFileForTransit GetFileHandleForProcess(
|
| base::ProcessHandle process,
|
| bool close_source_handle);
|
|
|
| +// Returns a file handle equivalent to |file| that can be used in |process|.
|
| +// Note that this function takes ownership of |file|.
|
| +IPC_EXPORT PlatformFileForTransit TakeFileHandleForProcess(
|
| + base::File file,
|
| + base::ProcessHandle process);
|
| +
|
| } // namespace IPC
|
|
|
| #endif // IPC_IPC_PLATFORM_FILE_H_
|
|
|