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/edk/embedder/embedder.h" | 5 #include "mojo/edk/embedder/embedder.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <utility> | 10 #include <utility> |
8 | 11 |
9 #include "base/bind.h" | 12 #include "base/bind.h" |
10 #include "base/command_line.h" | 13 #include "base/command_line.h" |
11 #include "base/logging.h" | 14 #include "base/logging.h" |
12 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
13 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
14 #include "base/test/test_timeouts.h" | 17 #include "base/test/test_timeouts.h" |
15 #include "mojo/edk/embedder/embedder.h" | 18 #include "mojo/edk/embedder/embedder.h" |
16 #include "mojo/edk/embedder/platform_channel_pair.h" | 19 #include "mojo/edk/embedder/platform_channel_pair.h" |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); | 574 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfiable_signals); |
572 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(mp1)); | 575 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(mp1)); |
573 } | 576 } |
574 | 577 |
575 // TODO(vtl): Test immediate write & close. | 578 // TODO(vtl): Test immediate write & close. |
576 // TODO(vtl): Test broken-connection cases. | 579 // TODO(vtl): Test broken-connection cases. |
577 | 580 |
578 } // namespace | 581 } // namespace |
579 } // namespace edk | 582 } // namespace edk |
580 } // namespace mojo | 583 } // namespace mojo |
OLD | NEW |