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

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

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps Created 6 years, 2 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
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/system/message_pipe_dispatcher.h" 5 #include "mojo/edk/system/message_pipe_dispatcher.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "mojo/system/channel.h" 8 #include "mojo/edk/system/channel.h"
9 #include "mojo/system/channel_endpoint.h" 9 #include "mojo/edk/system/channel_endpoint.h"
10 #include "mojo/system/constants.h" 10 #include "mojo/edk/system/constants.h"
11 #include "mojo/system/local_message_pipe_endpoint.h" 11 #include "mojo/edk/system/local_message_pipe_endpoint.h"
12 #include "mojo/system/memory.h" 12 #include "mojo/edk/system/memory.h"
13 #include "mojo/system/message_in_transit.h" 13 #include "mojo/edk/system/message_in_transit.h"
14 #include "mojo/system/message_pipe.h" 14 #include "mojo/edk/system/message_pipe.h"
15 #include "mojo/system/options_validation.h" 15 #include "mojo/edk/system/options_validation.h"
16 #include "mojo/system/proxy_message_pipe_endpoint.h" 16 #include "mojo/edk/system/proxy_message_pipe_endpoint.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace system { 19 namespace system {
20 20
21 namespace { 21 namespace {
22 22
23 const unsigned kInvalidPort = static_cast<unsigned>(-1); 23 const unsigned kInvalidPort = static_cast<unsigned>(-1);
24 24
25 struct SerializedMessagePipeDispatcher { 25 struct SerializedMessagePipeDispatcher {
26 MessageInTransit::EndpointId endpoint_id; 26 MessageInTransit::EndpointId endpoint_id;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // MessagePipeDispatcherTransport ---------------------------------------------- 275 // MessagePipeDispatcherTransport ----------------------------------------------
276 276
277 MessagePipeDispatcherTransport::MessagePipeDispatcherTransport( 277 MessagePipeDispatcherTransport::MessagePipeDispatcherTransport(
278 DispatcherTransport transport) 278 DispatcherTransport transport)
279 : DispatcherTransport(transport) { 279 : DispatcherTransport(transport) {
280 DCHECK_EQ(message_pipe_dispatcher()->GetType(), Dispatcher::kTypeMessagePipe); 280 DCHECK_EQ(message_pipe_dispatcher()->GetType(), Dispatcher::kTypeMessagePipe);
281 } 281 }
282 282
283 } // namespace system 283 } // namespace system
284 } // namespace mojo 284 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_dispatcher.h ('k') | mojo/edk/system/message_pipe_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698