X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmojo%2Fsystem%2Fmessage_pipe_dispatcher.h;h=7a3ed93fff14c70bc5c9ba89dcb9dde8dc2ec7f3;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=1c843fc9acb421f618af3948b658e7f0c56c7364;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/mojo/system/message_pipe_dispatcher.h b/src/mojo/system/message_pipe_dispatcher.h index 1c843fc..7a3ed93 100644 --- a/src/mojo/system/message_pipe_dispatcher.h +++ b/src/mojo/system/message_pipe_dispatcher.h @@ -5,8 +5,6 @@ #ifndef MOJO_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ #define MOJO_SYSTEM_MESSAGE_PIPE_DISPATCHER_H_ -#include - #include "base/macros.h" #include "base/memory/ref_counted.h" #include "mojo/system/dispatcher.h" @@ -16,6 +14,7 @@ namespace mojo { namespace system { +class ChannelEndpoint; class MessagePipe; class MessagePipeDispatcherTransport; @@ -51,9 +50,8 @@ class MOJO_SYSTEM_IMPL_EXPORT MessagePipeDispatcher : public Dispatcher { // the message pipe, port 0). // TODO(vtl): This currently uses |kDefaultCreateOptions|, which is okay since // there aren't any options, but eventually options should be plumbed through. - static std::pair, - scoped_refptr > - CreateRemoteMessagePipe(); + static scoped_refptr CreateRemoteMessagePipe( + scoped_refptr* channel_endpoint); // The "opposite" of |SerializeAndClose()|. (Typically this is called by // |Dispatcher::Deserialize()|.)