Index: ipc/ipc_channel_handle.h |
diff --git a/ipc/ipc_channel_handle.h b/ipc/ipc_channel_handle.h |
index 1b9a385abf0cb52d502b26d4e83d51e1993a1d43..a6d4bb8f9feb21efb935b94a8b39d389f6d142d4 100644 |
--- a/ipc/ipc_channel_handle.h |
+++ b/ipc/ipc_channel_handle.h |
@@ -30,6 +30,9 @@ struct ChannelHandle { |
// Note that serialization for this object is defined in the ParamTraits |
// template specialization in ipc_message_utils.h. |
ChannelHandle() {} |
+ // The name that is passed in should be an absolute path for Posix. |
+ // Otherwise there may be a problem in IPC communication between |
+ // processes with different working directories. |
ChannelHandle(const std::string& n) : name(n) {} |
ChannelHandle(const char* n) : name(n) {} |
#if defined(OS_POSIX) |