Index: ipc/ipc_message.h |
=================================================================== |
--- ipc/ipc_message.h (revision 270662) |
+++ ipc/ipc_message.h (working copy) |
@@ -121,6 +121,14 @@ |
return (header()->flags & PUMPING_MSGS_BIT) != 0; |
} |
+ void set_dispatch_error() const { |
+ dispatch_error_ = true; |
+ } |
+ |
+ bool dispatch_error() const { |
+ return dispatch_error_; |
+ } |
+ |
uint32 type() const { |
return header()->type; |
} |
@@ -236,8 +244,11 @@ |
return headerT<Header>(); |
} |
- void InitLoggingVariables(); |
+ void Init(); |
+ // Used internally to support IPC::Listener::OnBadMessageReceived. |
+ mutable bool dispatch_error_; |
+ |
#if defined(OS_POSIX) |
// The set of file descriptors associated with this message. |
scoped_refptr<FileDescriptorSet> file_descriptor_set_; |