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

Side by Side Diff: mojo/edk/system/message_pipe_dispatcher.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/message_pipe.cc ('k') | mojo/edk/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/edk/system/message_pipe_dispatcher.h" 5 #include "mojo/edk/system/message_pipe_dispatcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "mojo/edk/system/configuration.h" 10 #include "mojo/edk/system/configuration.h"
11 #include "mojo/edk/system/handle_transport.h"
11 #include "mojo/edk/system/local_message_pipe_endpoint.h" 12 #include "mojo/edk/system/local_message_pipe_endpoint.h"
12 #include "mojo/edk/system/memory.h" 13 #include "mojo/edk/system/memory.h"
13 #include "mojo/edk/system/message_pipe.h" 14 #include "mojo/edk/system/message_pipe.h"
14 #include "mojo/edk/system/options_validation.h" 15 #include "mojo/edk/system/options_validation.h"
15 #include "mojo/edk/system/proxy_message_pipe_endpoint.h" 16 #include "mojo/edk/system/proxy_message_pipe_endpoint.h"
16 17
17 using mojo::platform::ScopedPlatformHandle; 18 using mojo::platform::ScopedPlatformHandle;
18 using mojo::util::RefPtr; 19 using mojo::util::RefPtr;
19 20
20 namespace mojo { 21 namespace mojo {
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 229
229 bool rv = message_pipe_->EndSerialize(port_, channel, destination, 230 bool rv = message_pipe_->EndSerialize(port_, channel, destination,
230 actual_size, platform_handles); 231 actual_size, platform_handles);
231 message_pipe_ = nullptr; 232 message_pipe_ = nullptr;
232 port_ = kInvalidPort; 233 port_ = kInvalidPort;
233 return rv; 234 return rv;
234 } 235 }
235 236
236 } // namespace system 237 } // namespace system
237 } // namespace mojo 238 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe.cc ('k') | mojo/edk/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698