diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:07:18 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:07:18 +0000 |
commit | 5a0d0066f349bb4e52421cce97460477b137154f (patch) | |
tree | 3d20d6ab84563aa7e710b7f81ff0e8e965921fbe /mojo/mojo.gyp | |
parent | 7d687af81a2683b07ee999968a4de0a3e1a4b989 (diff) | |
download | chromium_src-5a0d0066f349bb4e52421cce97460477b137154f.zip chromium_src-5a0d0066f349bb4e52421cce97460477b137154f.tar.gz chromium_src-5a0d0066f349bb4e52421cce97460477b137154f.tar.bz2 |
Add a "RawChannel" abstraction (with an implementation for Chromium POSIX).
This abstraction is meant to provide for reading/writing |MessageInTransit|s to
an OS-level pipe. Writes (|WriteMessage()|) can be done from any thread. Reads
are handled on the I/O message loop's thread.
(We need a MessageLoopForIO since we need its FD-watching capabilities, at least
on POSIX. This is really inessential -- we really only need/want a thread that's
capable of watching FDs. Possibly, things should be abstracted further.)
R=darin@chromium.org
Review URL: https://codereview.chromium.org/26615002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/mojo.gyp')
-rw-r--r-- | mojo/mojo.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp index 43c9961..d953fb8 100644 --- a/mojo/mojo.gyp +++ b/mojo/mojo.gyp @@ -86,6 +86,9 @@ 'system/message_pipe.h', 'system/message_pipe_dispatcher.cc', 'system/message_pipe_dispatcher.h', + 'system/platform_channel_handle.h', + 'system/raw_channel.h', + 'system/raw_channel_posix.cc', 'system/simple_dispatcher.cc', 'system/simple_dispatcher.h', 'system/waiter.cc', @@ -114,6 +117,7 @@ 'system/dispatcher_unittest.cc', 'system/message_pipe_dispatcher_unittest.cc', 'system/message_pipe_unittest.cc', + 'system/raw_channel_posix_unittest.cc', 'system/simple_dispatcher_unittest.cc', 'system/test_utils.h', 'system/waiter_list_unittest.cc', |