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 <stdint.h> | 5 #include <stdint.h> |
6 #include <string.h> | 6 #include <string.h> |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
15 #include "base/threading/platform_thread.h" // For |Sleep()|. | 15 #include "base/threading/platform_thread.h" // For |Sleep()|. |
| 16 #include "mojo/embedder/platform_channel_pair.h" |
| 17 #include "mojo/embedder/scoped_platform_handle.h" |
16 #include "mojo/system/channel.h" | 18 #include "mojo/system/channel.h" |
17 #include "mojo/system/embedder/platform_channel_pair.h" | |
18 #include "mojo/system/embedder/scoped_platform_handle.h" | |
19 #include "mojo/system/local_message_pipe_endpoint.h" | 19 #include "mojo/system/local_message_pipe_endpoint.h" |
20 #include "mojo/system/message_pipe.h" | 20 #include "mojo/system/message_pipe.h" |
21 #include "mojo/system/message_pipe_dispatcher.h" | 21 #include "mojo/system/message_pipe_dispatcher.h" |
22 #include "mojo/system/proxy_message_pipe_endpoint.h" | 22 #include "mojo/system/proxy_message_pipe_endpoint.h" |
23 #include "mojo/system/test_utils.h" | 23 #include "mojo/system/test_utils.h" |
24 #include "mojo/system/waiter.h" | 24 #include "mojo/system/waiter.h" |
25 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
26 | 26 |
27 namespace mojo { | 27 namespace mojo { |
28 namespace system { | 28 namespace system { |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 | 584 |
585 mp1->Close(1); | 585 mp1->Close(1); |
586 | 586 |
587 RestoreInitialState(); | 587 RestoreInitialState(); |
588 } | 588 } |
589 } | 589 } |
590 | 590 |
591 } // namespace | 591 } // namespace |
592 } // namespace system | 592 } // namespace system |
593 } // namespace mojo | 593 } // namespace mojo |
OLD | NEW |