Index: ipc/ipc_channel_posix.h |
diff --git a/ipc/ipc_channel_posix.h b/ipc/ipc_channel_posix.h |
index 1cb76102c3905eba818929ed536a73f47f048111..e543c16c61e1c723cfc1a365184305f7b105837d 100644 |
--- a/ipc/ipc_channel_posix.h |
+++ b/ipc/ipc_channel_posix.h |
@@ -85,9 +85,9 @@ class IPC_EXPORT ChannelPosix : public Channel, |
void CloseClientFileDescriptor(); |
static bool IsNamedServerInitialized(const std::string& channel_id); |
-#if defined(OS_LINUX) |
+#if defined(OS_LINUX) || defined(OS_NACL_NONSFI) |
static void SetGlobalPid(int pid); |
-#endif // OS_LINUX |
+#endif // defined(OS_LINUX) || defined(OS_NACL_NONSFI) |
private: |
bool CreatePipe(const IPC::ChannelHandle& channel_handle); |
@@ -212,10 +212,10 @@ class IPC_EXPORT ChannelPosix : public Channel, |
// True if we are responsible for unlinking the unix domain socket file. |
bool must_unlink_; |
-#if defined(OS_LINUX) |
+#if defined(OS_LINUX) || defined(OS_NACL_NONSFI) |
// If non-zero, overrides the process ID sent in the hello message. |
static int global_pid_; |
-#endif // OS_LINUX |
+#endif // defined(OS_LINUX) || defined(OS_NACL_NONSFI) |
DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelPosix); |
}; |