Index: ipc/ipc_platform_file.h |
diff --git a/ipc/ipc_platform_file.h b/ipc/ipc_platform_file.h |
index e08b8a5f7a71fe54a911865028b30c89cdb04ca3..ac27abca340484560e3b47d19759ddeeb0363f45 100644 |
--- a/ipc/ipc_platform_file.h |
+++ b/ipc/ipc_platform_file.h |
@@ -9,6 +9,7 @@ |
#include "base/basictypes.h" |
#include "base/platform_file.h" |
+#include "base/process.h" |
#if defined(OS_POSIX) |
#include "base/file_descriptor_posix.h" |
@@ -39,6 +40,11 @@ inline base::PlatformFile PlatformFileForTransitToPlatformFile( |
#endif |
} |
+// Returns a file handle equivalent to |file| that can be used in |process|. |
+PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile file, |
+ base::ProcessHandle process, |
+ bool close_source_handle); |
+ |
} // namespace IPC |
#endif // IPC_IPC_PLATFORM_FILE_H_ |