| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/public/environment/default_async_waiter.h" | 5 #include "mojo/public/environment/default_async_waiter.h" |
| 6 | 6 |
| 7 #include "mojo/public/environment/environment.h" | 7 #include "mojo/public/environment/environment.h" |
| 8 #include "mojo/public/system/core_cpp.h" | 8 #include "mojo/public/system/core_cpp.h" |
| 9 #include "mojo/public/system/macros.h" | 9 #include "mojo/public/system/macros.h" |
| 10 #include "mojo/public/tests/test_support.h" | 10 #include "mojo/public/tests/test_support.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 CallCancelWait( | 111 CallCancelWait( |
| 112 CallAsyncWait(test_pipe.handle0.get(), | 112 CallAsyncWait(test_pipe.handle0.get(), |
| 113 MOJO_WAIT_FLAG_READABLE, | 113 MOJO_WAIT_FLAG_READABLE, |
| 114 &callback)); | 114 &callback)); |
| 115 RunLoop::current()->Run(); | 115 RunLoop::current()->Run(); |
| 116 EXPECT_EQ(0, callback.result_count()); | 116 EXPECT_EQ(0, callback.result_count()); |
| 117 } | 117 } |
| 118 | 118 |
| 119 } // namespace | 119 } // namespace |
| 120 } // namespace mojo | 120 } // namespace mojo |
| OLD | NEW |