| 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 <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
| 15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
| 16 #include "mojo/edk/embedder/embedder.h" | 16 #include "mojo/edk/embedder/embedder.h" |
| 17 #include "mojo/edk/embedder/platform_channel_pair.h" | 17 #include "mojo/edk/embedder/platform_channel_pair.h" |
| 18 #include "mojo/edk/system/test_utils.h" | 18 #include "mojo/edk/system/test_utils.h" |
| 19 #include "mojo/edk/system/waiter.h" | |
| 20 #include "mojo/edk/test/mojo_test_base.h" | 19 #include "mojo/edk/test/mojo_test_base.h" |
| 21 #include "mojo/public/c/system/data_pipe.h" | 20 #include "mojo/public/c/system/data_pipe.h" |
| 22 #include "mojo/public/c/system/functions.h" | 21 #include "mojo/public/c/system/functions.h" |
| 23 #include "mojo/public/c/system/message_pipe.h" | 22 #include "mojo/public/c/system/message_pipe.h" |
| 24 #include "mojo/public/cpp/system/simple_watcher.h" | 23 #include "mojo/public/cpp/system/simple_watcher.h" |
| 25 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
| 26 | 25 |
| 27 namespace mojo { | 26 namespace mojo { |
| 28 namespace edk { | 27 namespace edk { |
| 29 namespace { | 28 namespace { |
| (...skipping 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2026 for (size_t i = 3; i < 6; ++i) | 2025 for (size_t i = 3; i < 6; ++i) |
| 2027 CloseHandle(producers[i]); | 2026 CloseHandle(producers[i]); |
| 2028 END_CHILD() | 2027 END_CHILD() |
| 2029 } | 2028 } |
| 2030 | 2029 |
| 2031 #endif // !defined(OS_IOS) | 2030 #endif // !defined(OS_IOS) |
| 2032 | 2031 |
| 2033 } // namespace | 2032 } // namespace |
| 2034 } // namespace edk | 2033 } // namespace edk |
| 2035 } // namespace mojo | 2034 } // namespace mojo |
| OLD | NEW |