Home | History | Annotate | Download | only in messaging

Lines Matching refs:port_id

52 #define GET_CHANNEL_ID(port_id) ((port_id) / 2)
57 #define IS_OPENER_PORT_ID(port_id) (((port_id) & 1) == 0)
510 void MessageService::CloseChannel(int port_id,
513 int channel_id = GET_CHANNEL_ID(port_id);
522 weak_factory_.GetWeakPtr(), port_id, error_message));
526 CloseChannelImpl(it, port_id, error_message, true);
565 void MessageService::PostMessageFromNativeProcess(int port_id,
567 PostMessage(port_id, Message(message, false /* user_gesture */));
758 int port_id,
761 port.DispatchOnDisconnect(GET_OPPOSITE_PORT_ID(port_id), error_message);