| Index: ipc/ipc_channel_proxy.h
|
| diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h
|
| index 14b5fe0a4d86240f5ccd96ac8a5b2a9b16fc3792..db3aeadb679b3cb11124e48317ec4ae07297c666 100644
|
| --- a/ipc/ipc_channel_proxy.h
|
| +++ b/ipc/ipc_channel_proxy.h
|
| @@ -164,13 +164,17 @@ class IPC_EXPORT ChannelProxy : public Endpoint, public base::NonThreadSafe {
|
| base::Callback<void(mojo::ScopedInterfaceEndpointHandle)>;
|
|
|
| // Adds a generic associated interface factory to bind incoming interface
|
| - // requests directly on the IO thread. MUST be called before Init().
|
| + // requests directly on the IO thread. MUST be called either before Init() or
|
| + // before the remote end of the Channel is able to send messages (e.g. before
|
| + // its process is launched.)
|
| void AddGenericAssociatedInterfaceForIOThread(
|
| const std::string& name,
|
| const GenericAssociatedInterfaceFactory& factory);
|
|
|
| // Adds a generic associated interface factory to bind incoming interface
|
| - // requests on the ChannelProxy's thread. MUST be called before Init().
|
| + // requests on the ChannelProxy's thread. MUST be called before Init() or
|
| + // before the remote end of the Channel is able to send messages (e.g. before
|
| + // its process is launched.)
|
| void AddGenericAssociatedInterface(
|
| const std::string& name,
|
| const GenericAssociatedInterfaceFactory& factory);
|
|
|