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/system/embedder.h" | 5 #include "mojo/system/embedder/embedder.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 // TODO(vtl): Remove build_config.h include when fully implemented on Windows. | 12 // TODO(vtl): Remove build_config.h include when fully implemented on Windows. |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "mojo/public/system/core.h" | 14 #include "mojo/public/system/core.h" |
15 #include "mojo/system/platform_channel_pair.h" | 15 #include "mojo/system/embedder/platform_channel_pair.h" |
16 #include "mojo/system/test_embedder.h" | 16 #include "mojo/system/embedder/test_embedder.h" |
17 #include "mojo/system/test_utils.h" | 17 #include "mojo/system/test_utils.h" |
18 | 18 |
19 namespace mojo { | 19 namespace mojo { |
20 namespace embedder { | 20 namespace embedder { |
21 namespace { | 21 namespace { |
22 | 22 |
23 typedef system::test::TestWithIOThreadBase EmbedderTest; | 23 typedef system::test::TestWithIOThreadBase EmbedderTest; |
24 | 24 |
25 void StoreChannelInfo(ChannelInfo** store_channel_info_here, | 25 void StoreChannelInfo(ChannelInfo** store_channel_info_here, |
26 ChannelInfo* channel_info) { | 26 ChannelInfo* channel_info) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 test::Shutdown(); | 94 test::Shutdown(); |
95 } | 95 } |
96 | 96 |
97 // TODO(vtl): Test immediate write & close. | 97 // TODO(vtl): Test immediate write & close. |
98 // TODO(vtl): Test broken-connection cases. | 98 // TODO(vtl): Test broken-connection cases. |
99 | 99 |
100 } // namespace | 100 } // namespace |
101 } // namespace embedder | 101 } // namespace embedder |
102 } // namespace mojo | 102 } // namespace mojo |
OLD | NEW |