OLD | NEW |
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 "third_party/mojo/src/mojo/edk/system/message_pipe_dispatcher.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "mojo/edk/system/configuration.h" | 8 #include "third_party/mojo/src/mojo/edk/system/configuration.h" |
9 #include "mojo/edk/system/local_message_pipe_endpoint.h" | 9 #include "third_party/mojo/src/mojo/edk/system/local_message_pipe_endpoint.h" |
10 #include "mojo/edk/system/memory.h" | 10 #include "third_party/mojo/src/mojo/edk/system/memory.h" |
11 #include "mojo/edk/system/message_pipe.h" | 11 #include "third_party/mojo/src/mojo/edk/system/message_pipe.h" |
12 #include "mojo/edk/system/options_validation.h" | 12 #include "third_party/mojo/src/mojo/edk/system/options_validation.h" |
13 #include "mojo/edk/system/proxy_message_pipe_endpoint.h" | 13 #include "third_party/mojo/src/mojo/edk/system/proxy_message_pipe_endpoint.h" |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
16 namespace system { | 16 namespace system { |
17 | 17 |
18 const unsigned kInvalidPort = static_cast<unsigned>(-1); | 18 const unsigned kInvalidPort = static_cast<unsigned>(-1); |
19 | 19 |
20 // MessagePipeDispatcher ------------------------------------------------------- | 20 // MessagePipeDispatcher ------------------------------------------------------- |
21 | 21 |
22 // static | 22 // static |
23 const MojoCreateMessagePipeOptions | 23 const MojoCreateMessagePipeOptions |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 219 |
220 MessagePipeDispatcherTransport::MessagePipeDispatcherTransport( | 220 MessagePipeDispatcherTransport::MessagePipeDispatcherTransport( |
221 DispatcherTransport transport) | 221 DispatcherTransport transport) |
222 : DispatcherTransport(transport) { | 222 : DispatcherTransport(transport) { |
223 DCHECK_EQ(message_pipe_dispatcher()->GetType(), | 223 DCHECK_EQ(message_pipe_dispatcher()->GetType(), |
224 Dispatcher::Type::MESSAGE_PIPE); | 224 Dispatcher::Type::MESSAGE_PIPE); |
225 } | 225 } |
226 | 226 |
227 } // namespace system | 227 } // namespace system |
228 } // namespace mojo | 228 } // namespace mojo |
OLD | NEW |