| Index: mojo/public/tests/simple_bindings_support.h
|
| diff --git a/mojo/public/tests/simple_bindings_support.h b/mojo/public/tests/simple_bindings_support.h
|
| index c22de82f35f2a9ed8037b3c1774e42a7b46a7cb3..59131ba185b0e6750aadfebaa83bbbabb28c7e45 100644
|
| --- a/mojo/public/tests/simple_bindings_support.h
|
| +++ b/mojo/public/tests/simple_bindings_support.h
|
| @@ -17,11 +17,10 @@ class SimpleBindingsSupport : public BindingsSupport {
|
| SimpleBindingsSupport();
|
| virtual ~SimpleBindingsSupport();
|
|
|
| - virtual bool AsyncWait(Handle handle,
|
| - MojoWaitFlags flags,
|
| - MojoDeadline deadline,
|
| - AsyncWaitCallback* callback) MOJO_OVERRIDE;
|
| - virtual void CancelWait(AsyncWaitCallback* callback) MOJO_OVERRIDE;
|
| + virtual AsyncWaitID AsyncWait(Handle handle,
|
| + MojoWaitFlags flags,
|
| + AsyncWaitCallback* callback) MOJO_OVERRIDE;
|
| + virtual void CancelWait(AsyncWaitID async_wait_id) MOJO_OVERRIDE;
|
|
|
| // This method is called by unit tests to check the status of any handles
|
| // that we are asynchronously waiting on and to dispatch callbacks for any
|
| @@ -34,11 +33,11 @@ class SimpleBindingsSupport : public BindingsSupport {
|
| struct Waiter {
|
| Handle handle;
|
| MojoWaitFlags flags;
|
| - MojoDeadline deadline;
|
| AsyncWaitCallback* callback;
|
| };
|
|
|
| - std::list<Waiter> waiters_;
|
| + typedef std::list<Waiter*> WaiterList;
|
| + WaiterList waiters_;
|
| };
|
|
|
| } // namespace test
|
|
|