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.h" | 5 #include "mojo/edk/system/message_pipe.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "mojo/edk/system/channel.h" | 11 #include "mojo/edk/system/channel.h" |
12 #include "mojo/edk/system/channel_endpoint.h" | 12 #include "mojo/edk/system/channel_endpoint.h" |
13 #include "mojo/edk/system/channel_endpoint_id.h" | 13 #include "mojo/edk/system/channel_endpoint_id.h" |
14 #include "mojo/edk/system/incoming_endpoint.h" | 14 #include "mojo/edk/system/incoming_endpoint.h" |
15 #include "mojo/edk/system/local_message_pipe_endpoint.h" | 15 #include "mojo/edk/system/local_message_pipe_endpoint.h" |
16 #include "mojo/edk/system/message_in_transit.h" | 16 #include "mojo/edk/system/message_in_transit.h" |
17 #include "mojo/edk/system/message_pipe_dispatcher.h" | 17 #include "mojo/edk/system/message_pipe_dispatcher.h" |
18 #include "mojo/edk/system/message_pipe_endpoint.h" | 18 #include "mojo/edk/system/message_pipe_endpoint.h" |
19 #include "mojo/edk/system/proxy_message_pipe_endpoint.h" | 19 #include "mojo/edk/system/proxy_message_pipe_endpoint.h" |
20 #include "mojo/edk/util/make_unique.h" | 20 #include "mojo/edk/util/make_unique.h" |
21 | 21 |
22 using mojo::embedder::ScopedPlatformHandle; | 22 using mojo::platform::ScopedPlatformHandle; |
23 using mojo::util::MakeRefCounted; | 23 using mojo::util::MakeRefCounted; |
24 using mojo::util::MakeUnique; | 24 using mojo::util::MakeUnique; |
25 using mojo::util::MutexLocker; | 25 using mojo::util::MutexLocker; |
26 using mojo::util::RefPtr; | 26 using mojo::util::RefPtr; |
27 | 27 |
28 namespace mojo { | 28 namespace mojo { |
29 namespace system { | 29 namespace system { |
30 | 30 |
31 // static | 31 // static |
32 RefPtr<MessagePipe> MessagePipe::CreateLocalLocal() | 32 RefPtr<MessagePipe> MessagePipe::CreateLocalLocal() |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 LOG(WARNING) << "Enqueueing null dispatcher"; | 388 LOG(WARNING) << "Enqueueing null dispatcher"; |
389 dispatchers->push_back(nullptr); | 389 dispatchers->push_back(nullptr); |
390 } | 390 } |
391 } | 391 } |
392 message->SetDispatchers(std::move(dispatchers)); | 392 message->SetDispatchers(std::move(dispatchers)); |
393 return MOJO_RESULT_OK; | 393 return MOJO_RESULT_OK; |
394 } | 394 } |
395 | 395 |
396 } // namespace system | 396 } // namespace system |
397 } // namespace mojo | 397 } // namespace mojo |
OLD | NEW |