OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/utility/bindings_support_impl.h" | 5 #include "mojo/public/utility/bindings_support_impl.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "mojo/public/system/core_cpp.h" | 8 #include "mojo/public/system/core_cpp.h" |
9 #include "mojo/public/tests/test_support.h" | 9 #include "mojo/public/tests/test_support.h" |
10 #include "mojo/public/utility/environment.h" | 10 #include "mojo/public/utility/environment.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 BindingsSupport::Get()->CancelWait( | 104 BindingsSupport::Get()->CancelWait( |
105 BindingsSupport::Get()->AsyncWait(test_pipe.handle0.get(), | 105 BindingsSupport::Get()->AsyncWait(test_pipe.handle0.get(), |
106 MOJO_WAIT_FLAG_READABLE, &callback)); | 106 MOJO_WAIT_FLAG_READABLE, &callback)); |
107 RunLoop::current()->Run(); | 107 RunLoop::current()->Run(); |
108 EXPECT_EQ(0, callback.result_count()); | 108 EXPECT_EQ(0, callback.result_count()); |
109 } | 109 } |
110 | 110 |
111 } // namespace | 111 } // namespace |
112 } // namespace mojo | 112 } // namespace mojo |
OLD | NEW |