Index: mojo/system/local_message_pipe_endpoint.h |
diff --git a/mojo/system/local_message_pipe_endpoint.h b/mojo/system/local_message_pipe_endpoint.h |
index caed81df6e6de527957b3bd4aa073318fd5133a1..7e8703dd573bef539abf81d6d0a689156a5a8b5f 100644 |
--- a/mojo/system/local_message_pipe_endpoint.h |
+++ b/mojo/system/local_message_pipe_endpoint.h |
@@ -10,30 +10,26 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
#include "mojo/public/system/core.h" |
+#include "mojo/public/system/system_export.h" |
#include "mojo/system/message_pipe_endpoint.h" |
#include "mojo/system/waiter_list.h" |
namespace mojo { |
namespace system { |
-class MessageInTransit; |
- |
-class LocalMessagePipeEndpoint : public MessagePipeEndpoint { |
+class MOJO_SYSTEM_EXPORT LocalMessagePipeEndpoint : public MessagePipeEndpoint { |
public: |
LocalMessagePipeEndpoint(); |
virtual ~LocalMessagePipeEndpoint(); |
// |MessagePipeEndpoint| implementation: |
- virtual void OnPeerClose() OVERRIDE; |
- virtual MojoResult EnqueueMessage( |
- const void* bytes, uint32_t num_bytes, |
- const MojoHandle* handles, uint32_t num_handles, |
- MojoWriteMessageFlags flags) OVERRIDE; |
+ virtual void Close() OVERRIDE; |
+ virtual bool OnPeerClose() OVERRIDE; |
+ virtual MojoResult EnqueueMessage(MessageInTransit* message) OVERRIDE; |
// There's a dispatcher for |LocalMessagePipeEndpoint|s, so we have to |
// implement/override these: |
virtual void CancelAllWaiters() OVERRIDE; |
- virtual void Close() OVERRIDE; |
virtual MojoResult ReadMessage(void* bytes, uint32_t* num_bytes, |
MojoHandle* handles, uint32_t* num_handles, |
MojoReadMessageFlags flags) OVERRIDE; |