summaryrefslogtreecommitdiffstats
path: root/blimp/net/blimp_message_thread_pipe.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add a BlimpMessageThreadPipe helper for UI<->IO thread transitions.wez2015-12-231-0/+120
BlimpMessageThreadPipe allows any BlimpMessageProcessor running on one thread to be wrapped and proxy processors dispensed that can be used to pass messages to it from any other thread. The pipe/proxy implementation ensures that pending processing requests and completion callbacks are correctly abandoned if either end of the "pipe" is torn down on its respective thread. BUG=568276 Review URL: https://codereview.chromium.org/1540493004 Cr-Commit-Position: refs/heads/master@{#366765}