summaryrefslogtreecommitdiffstats
path: root/mojo/system/waiter_test_utils.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move mojo edk into mojo/edkjamesr2014-10-031-70/+0
| | | | | | | | | | | | | | | | | | | | This creates a mojo/edk directory which contains the "embedder developer kit" aka the set of code needed to embed mojo code. mojo/edk/embedder = code from mojo/embedder mojo/edk/system = code from mojo/system mojo/edk/test = code used to test the previous two, from mojo/common/test mojo/edk/ can only depend on mojo/public/, base/ and itself. R=viettrungluu@chromium.org TBR=sky@chromium.org for file renames Committed: https://chromium.googlesource.com/chromium/src/+/ee7ff197a98da4636f33bd713de784948b487bd4 Review URL: https://codereview.chromium.org/621153003 Cr-Commit-Position: refs/heads/master@{#297986}
* Revert "Move mojo edk into mojo/edk"Trent Apted2014-10-031-0/+70
| | | | | | | | | | | | | | | This reverts commit ee7ff197a98da4636f33bd713de784948b487bd4. Causing widespread checkdeps failures. ERROR in src\content\browser\webui\web_ui_mojo_browsertest.cc Illegal include: "mojo/edk/test/test_utils.h" Because of no rule applying. TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/623883002 Cr-Commit-Position: refs/heads/master@{#297966}
* Move mojo edk into mojo/edkJames Robinson2014-10-031-70/+0
| | | | | | | | | | | | | | | | | This creates a mojo/edk directory which contains the "embedder developer kit" aka the set of code needed to embed mojo code. mojo/edk/embedder = code from mojo/embedder mojo/edk/system = code from mojo/system mojo/edk/test = code used to test the previous two, from mojo/common/test mojo/edk/ can only depend on mojo/public/, base/ and itself. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/621153003 Cr-Commit-Position: refs/heads/master@{#297958}
* Mojo: Make Dispatcher::AddWaiter() (etc.) return the current ↵viettrungluu@chromium.org2014-07-311-6/+3
| | | | | | | | | | | | HandleSignalsState on failure. This will be needed for the new MojoWait/MojoWaitMany. R=darin@chromium.org Review URL: https://codereview.chromium.org/437573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286867 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: Make Dispatcher::RemoveWaiter() (etc.) return the current ↵viettrungluu@chromium.org2014-07-311-6/+15
| | | | | | | | | | | | | | HandleSignalsState. This will be needed for the new MojoWait/MojoWaitMany (well, technically not absolutely needed, but better to have: it avoids an extra round of locking versus calling GetHandleSignalsState() again). R=darin@chromium.org Review URL: https://codereview.chromium.org/425383003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286700 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: clang-format mojo/system/*.{cc,h} ...viettrungluu@chromium.org2014-07-291-5/+3
| | | | | | | | | | | | | | | | | | ... except for raw_channel.cc and raw_channel_win.cc, which are the files in r285211, which is to be reverted soon (later this week). (Simply clang-formatting those files would make the revert much more difficult.) The plan for those files is to land a clang-formatted revert of r285211, and then reland a clang-formatted version of r285211. Add a PRESUBMIT.py now, since we can. R=yzshen@chromium.org Review URL: https://codereview.chromium.org/422333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286235 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: MojoWaitFlags -> MojoHandleSignals.viettrungluu@chromium.org2014-06-181-3/+3
| | | | | | | | | | | I still have to rename MOJO_WAIT_... and MojoWaitFlagsState, but I'll do that separately. R=sky@chromium.org Review URL: https://codereview.chromium.org/345463003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278012 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: Update Waiter::Wait() to not put the context into the return value.viettrungluu@chromium.org2014-06-131-6/+11
| | | | | | | | | | | | (Instead, it puts it into an out parameter.) Also reverse the order of the arguments to Waiter::Awake(). R=davemoore@chromium.org Review URL: https://codereview.chromium.org/337803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277119 0039d316-1c4b-4281-b951-d872f2087c98
* Mojo: Rename/replace the wait (MojoResult) "wake result" with a (uint32_t) ↵viettrungluu@chromium.org2014-06-131-9/+7
| | | | | | | | | | | | | | | "context" (part 1). The plan is to separate the context from the wake result; the context will be the handle index (in MojoWaitMany()). Currently, we abuse the wake result (returning the index on success, and an error code on failure -- losing the index). R=sky@chromium.org Review URL: https://codereview.chromium.org/332893005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276988 0039d316-1c4b-4281-b951-d872f2087c98
* Initial in-process implementation of some Mojo primitives.viettrungluu@chromium.org2013-09-281-0/+63
| | | | | | | | | | | | | | | | | | This has an initial in-process implementation of the most basic Mojo primitives: - MojoClose() - MojoWait() - MojoWaitMany() - MojoCreateMessagePipe() - MojoWriteMessage() - MojoReadMessage() R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225801 Review URL: https://codereview.chromium.org/23621056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225821 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 225801 "Initial in-process implementation of some Mojo pr..."petewil@chromium.org2013-09-271-63/+0
| | | | | | | | | | | | | | | | | | | | | | > Initial in-process implementation of some Mojo primitives. > > This has an initial in-process implementation of the most basic Mojo primitives: > - MojoClose() > - MojoWait() > - MojoWaitMany() > - MojoCreateMessagePipe() > - MojoWriteMessage() > - MojoReadMessage() > > R=darin@chromium.org > > Review URL: https://codereview.chromium.org/23621056 TBR=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/25134002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225809 0039d316-1c4b-4281-b951-d872f2087c98
* Initial in-process implementation of some Mojo primitives.viettrungluu@chromium.org2013-09-271-0/+63
This has an initial in-process implementation of the most basic Mojo primitives: - MojoClose() - MojoWait() - MojoWaitMany() - MojoCreateMessagePipe() - MojoWriteMessage() - MojoReadMessage() R=darin@chromium.org Review URL: https://codereview.chromium.org/23621056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225801 0039d316-1c4b-4281-b951-d872f2087c98