Index: ipc/ipc_channel_handle.h |
diff --git a/ipc/ipc_channel_handle.h b/ipc/ipc_channel_handle.h |
index 1b9a385abf0cb52d502b26d4e83d51e1993a1d43..7f5835f7452bb14367067cc02f181d5e1d211783 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. |
sanjeevr
2011/06/23 22:34:15
This comment is only 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) |