| Index: ipc/ipc_platform_file.h
|
| ===================================================================
|
| --- ipc/ipc_platform_file.h (revision 34757)
|
| +++ ipc/ipc_platform_file.h (working copy)
|
| @@ -21,6 +21,14 @@
|
| typedef base::FileDescriptor PlatformFileForTransit;
|
| #endif
|
|
|
| +inline PlatformFileForTransit InvalidPlatformFileForTransit() {
|
| +#if defined(OS_WIN)
|
| + return base::kInvalidPlatformFileValue;
|
| +#elif defined(OS_POSIX)
|
| + return base::FileDescriptor();
|
| +#endif
|
| +}
|
| +
|
| inline base::PlatformFile PlatformFileForTransitToPlatformFile(
|
| const PlatformFileForTransit& transit) {
|
| #if defined(OS_WIN)
|
|
|