diff options
author | haibinlu <haibinlu@chromium.org> | 2016-01-06 15:21:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-06 23:21:57 +0000 |
commit | c827d306fbecaef31fbe469511030c0c5d19d3d4 (patch) | |
tree | c90d20753729cd1584950bf3e3e3d6b85825259a /blimp/net | |
parent | 52c3d55ba3739c87bdd39a90b72db3759e1c5c02 (diff) | |
download | chromium_src-c827d306fbecaef31fbe469511030c0c5d19d3d4.zip chromium_src-c827d306fbecaef31fbe469511030c0c5d19d3d4.tar.gz chromium_src-c827d306fbecaef31fbe469511030c0c5d19d3d4.tar.bz2 |
Uses BlimpMessageThreadPipe and its proxy to relay blimp messages between features on the UI thread and network components on the IO thread.
BUG=568276
Review URL: https://codereview.chromium.org/1550343002
Cr-Commit-Position: refs/heads/master@{#367948}
Diffstat (limited to 'blimp/net')
-rw-r--r-- | blimp/net/blimp_message_thread_pipe.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/blimp/net/blimp_message_thread_pipe.h b/blimp/net/blimp_message_thread_pipe.h index 4f8617c..bca86d1 100644 --- a/blimp/net/blimp_message_thread_pipe.h +++ b/blimp/net/blimp_message_thread_pipe.h @@ -27,10 +27,9 @@ class BlimpMessageProcessor; // 1. Create the pipe on the "main" thread, specifying the target thread's // task runner. // 2. Take one or more MessageProcessor proxies from it. -// 3. Post a task to the target thread to set the outgoing -// MessageProcessor. +// 3. Post a task to the target thread to set the target MessageProcessor. // 4. Start using the MessageProcessor proxy(/ies) on the main thread. -// 5. When the outgoing MessageProcessor is about to be destroyed on the +// 5. When the target MessageProcessor is about to be destroyed on the // target thread, destroy the pipe instance immediately beforehand. // Any messages that are subsequently passed to a proxy, or are already // in-flight to the pipe, will be silently dropped. |