Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: mojo/edk/system/remote_message_pipe_unittest.cc

Issue 1942423002: EDK: Move DispatcherTransport to handle_transport.*. (Closed) Base URL: https://github.com/domokit/mojo.git@work789_edk_handle_9
Patch Set: rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/system/remote_data_pipe_impl_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "mojo/edk/embedder/simple_platform_support.h" 14 #include "mojo/edk/embedder/simple_platform_support.h"
15 #include "mojo/edk/platform/platform_handle_utils_posix.h" 15 #include "mojo/edk/platform/platform_handle_utils_posix.h"
16 #include "mojo/edk/platform/platform_pipe.h" 16 #include "mojo/edk/platform/platform_pipe.h"
17 #include "mojo/edk/platform/platform_shared_buffer.h" 17 #include "mojo/edk/platform/platform_shared_buffer.h"
18 #include "mojo/edk/platform/scoped_platform_handle.h" 18 #include "mojo/edk/platform/scoped_platform_handle.h"
19 #include "mojo/edk/platform/thread_utils.h" 19 #include "mojo/edk/platform/thread_utils.h"
20 #include "mojo/edk/system/channel.h" 20 #include "mojo/edk/system/channel.h"
21 #include "mojo/edk/system/channel_endpoint.h" 21 #include "mojo/edk/system/channel_endpoint.h"
22 #include "mojo/edk/system/channel_endpoint_id.h" 22 #include "mojo/edk/system/channel_endpoint_id.h"
23 #include "mojo/edk/system/handle_transport.h"
23 #include "mojo/edk/system/incoming_endpoint.h" 24 #include "mojo/edk/system/incoming_endpoint.h"
24 #include "mojo/edk/system/message_pipe.h" 25 #include "mojo/edk/system/message_pipe.h"
25 #include "mojo/edk/system/message_pipe_dispatcher.h" 26 #include "mojo/edk/system/message_pipe_dispatcher.h"
26 #include "mojo/edk/system/platform_handle_dispatcher.h" 27 #include "mojo/edk/system/platform_handle_dispatcher.h"
27 #include "mojo/edk/system/raw_channel.h" 28 #include "mojo/edk/system/raw_channel.h"
28 #include "mojo/edk/system/shared_buffer_dispatcher.h" 29 #include "mojo/edk/system/shared_buffer_dispatcher.h"
29 #include "mojo/edk/system/test/scoped_test_dir.h" 30 #include "mojo/edk/system/test/scoped_test_dir.h"
30 #include "mojo/edk/system/test/test_io_thread.h" 31 #include "mojo/edk/system/test/test_io_thread.h"
31 #include "mojo/edk/system/test/timeouts.h" 32 #include "mojo/edk/system/test/timeouts.h"
32 #include "mojo/edk/system/waiter.h" 33 #include "mojo/edk/system/waiter.h"
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 mp0->Close(0); 1360 mp0->Close(0);
1360 mp1->Close(1); 1361 mp1->Close(1);
1361 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->Close()); 1362 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->Close());
1362 // Note that |local_mp|'s port 0 belong to |dispatcher|, which was closed. 1363 // Note that |local_mp|'s port 0 belong to |dispatcher|, which was closed.
1363 local_mp->Close(1); 1364 local_mp->Close(1);
1364 } 1365 }
1365 1366
1366 } // namespace 1367 } // namespace
1367 } // namespace system 1368 } // namespace system
1368 } // namespace mojo 1369 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/remote_data_pipe_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698