Lines Matching refs:Message
66 // How we send IPC message logs across channels.
73 uint32 type; // "User-defined" message type, from ipc_message.h.
75 int64 sent; // Time that the message was sent (i.e. at Send()).
92 static inline void WriteParam(Message* m, const P& p) {
98 static inline bool WARN_UNUSED_RESULT ReadParam(const Message* m,
116 static void Write(Message* m, const param_type& p) {
119 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
128 static void Write(Message* m, const param_type& p);
129 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
136 static void Write(Message* m, const param_type& p);
137 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
144 static void Write(Message* m, const param_type& p) {
147 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
156 static void Write(Message* m, const param_type& p) {
159 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
168 static void Write(Message* m, const param_type& p) {
171 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
180 static void Write(Message* m, const param_type& p) {
183 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
192 static void Write(Message* m, const param_type& p) {
195 static bool Read(const Message* m, PickleIterator* iter,
205 static void Write(Message* m, const param_type& p) {
208 static bool Read(const Message* m, PickleIterator* iter,
221 static void Write(Message* m, const param_type& p) {
224 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
233 static void Write(Message* m, const param_type& p);
234 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
243 static void Write(Message* m, const param_type& p) {
246 static bool Read(const Message* m, PickleIterator* iter,
256 static void Write(Message* m, const param_type& p) {
259 static bool Read(const Message* m, PickleIterator* iter,
272 static void Write(Message* m, const param_type& p) {
275 static bool Read(const Message* m, PickleIterator* iter,
286 static void Write(Message* m, const param_type& p);
287 static bool Read(const Message*, PickleIterator* iter, param_type* r);
294 static void Write(Message* m, const param_type& p);
295 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
302 static void Write(Message* m, const param_type& p);
303 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
310 static void Write(Message* m, const param_type& p) {
315 static bool Read(const Message* m, PickleIterator* iter,
343 static void Write(Message* m, const param_type& p) {
349 static bool Read(const Message* m, PickleIterator* iter,
370 static void Write(Message* m, const param_type& p) {
378 static bool Read(const Message* m, PickleIterator* iter,
401 static void Write(Message* m, const param_type& p) {
405 static bool Read(const Message* m, PickleIterator* iter,
423 static void Write(Message* m, const param_type& p);
424 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
437 // code which handles the message is responsible for taking ownership of it.
447 static void Write(Message* m, const param_type& p);
448 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
456 static void Write(Message* m, const param_type& p);
457 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
464 static void Write(Message* m, const param_type& p);
465 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
472 static void Write(Message* m, const param_type& p);
473 static bool Read(const Message* m, PickleIterator* iter,
481 static void Write(Message* m, const param_type& p);
482 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
501 static void Write(Message* m, const param_type& p);
502 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
509 static void Write(Message* m, const param_type& p);
510 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
517 static void Write(Message* m, const param_type& p);
518 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
525 static void Write(Message* m, const param_type& p) {
527 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
537 static void Write(Message* m, const param_type& p) {
540 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
551 static void Write(Message* m, const param_type& p) {
555 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
569 static void Write(Message* m, const param_type& p) {
574 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
591 static void Write(Message* m, const param_type& p) {
597 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
617 static void Write(Message* m, const param_type& p) {
624 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
647 static void Write(Message* m, const param_type& p) {
652 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
683 static void Write(Message* m, const param_type& p) {
691 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
713 static void Write(Message* m, const param_type& p) {
719 static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
752 static void Write(Message* m, const param_type& p);
753 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
760 static void Write(Message* m, const param_type& p);
761 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
766 struct IPC_EXPORT ParamTraits<Message> {
767 static void Write(Message* m, const Message& p);
768 static bool Read(const Message* m, PickleIterator* iter, Message* r);
769 static void Log(const Message& p, std::string* l);
778 static void Write(Message* m, const param_type& p);
779 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
786 static void Write(Message* m, const param_type& p);
787 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
794 static void Write(Message* m, const param_type& p);
795 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
801 // Generic message subclasses
810 static void Write(Message* msg, const RefParam& p) IPC_MSG_NOINLINE;
811 static bool Read(const Message* msg, Param* p) IPC_MSG_NOINLINE;
816 const Message& message,
821 inline void AddOutputParamsToLog(const Message* msg, std::string* l) {
831 const Message* msg) {
839 inline void ConnectMessageAndReply(const Message* msg, Message* reply) {
841 // Don't log the sync message after dispatch, as we don't have the
843 // with the outgoing reply message when it's sent.
851 inline void AddOutputParamsToLog(const Message* msg, std::string* l) {}
855 const Message* msg) {}
857 inline void ConnectMessageAndReply(const Message* msg, Message* reply) {}
868 bool SerializeOutputParameters(const IPC::Message& msg, PickleIterator iter) {
883 static void Write(Message* msg, const RefSendParam& send) IPC_MSG_NOINLINE;
884 static bool ReadSendParam(const Message* msg, SendParam* p) IPC_MSG_NOINLINE;
886 const Message* msg,
891 const Message* msg, T* obj, S* sender,
893 Message* reply = SyncMessage::GenerateReply(msg);
900 NOTREACHED() << "Error deserializing message " << msg->type();
910 const Message* msg, T* obj,
912 Message* reply = SyncMessage::GenerateReply(msg);
914 Tuple1<Message&> t = MakeRefTuple(*reply);
918 NOTREACHED() << "Error deserializing message " << msg->type();
926 static void WriteReplyParams(Message* reply, TA a) {
932 static void WriteReplyParams(Message* reply, TA a, TB b) {
938 static void WriteReplyParams(Message* reply, TA a, TB b, TC c) {
944 static void WriteReplyParams(Message* reply, TA a, TB b, TC c, TD d) {
950 static void WriteReplyParams(Message* reply, TA a, TB b, TC c, TD d, TE e) {