| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> |
| 5 #include <stdint.h> | 6 #include <stdint.h> |
| 6 | 7 |
| 7 #include "base/bind.h" | 8 #include "base/bind.h" |
| 8 #include "base/location.h" | 9 #include "base/location.h" |
| 9 #include "base/logging.h" | 10 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 12 #include "mojo/edk/embedder/platform_channel_pair.h" | 13 #include "mojo/edk/embedder/platform_channel_pair.h" |
| 13 #include "mojo/edk/embedder/simple_platform_support.h" | 14 #include "mojo/edk/embedder/simple_platform_support.h" |
| 14 #include "mojo/edk/system/test_utils.h" | 15 #include "mojo/edk/system/test_utils.h" |
| (...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1621 ASSERT_EQ(sizeof(read_data), num_bytes); | 1622 ASSERT_EQ(sizeof(read_data), num_bytes); |
| 1622 ASSERT_EQ(data, read_data); | 1623 ASSERT_EQ(data, read_data); |
| 1623 | 1624 |
| 1624 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); | 1625 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe0)); |
| 1625 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); | 1626 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1)); |
| 1626 } | 1627 } |
| 1627 | 1628 |
| 1628 } // namespace | 1629 } // namespace |
| 1629 } // namespace edk | 1630 } // namespace edk |
| 1630 } // namespace mojo | 1631 } // namespace mojo |
| OLD | NEW |