OLD | NEW |
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 "ipc/mojo/ipc_channel_mojo.h" | 5 #include "ipc/mojo/ipc_channel_mojo.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
19 #include "base/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
21 #include "ipc/ipc_listener.h" | 21 #include "ipc/ipc_listener.h" |
22 #include "ipc/ipc_logging.h" | 22 #include "ipc/ipc_logging.h" |
23 #include "ipc/ipc_message_attachment_set.h" | 23 #include "ipc/ipc_message_attachment_set.h" |
24 #include "ipc/ipc_message_macros.h" | 24 #include "ipc/ipc_message_macros.h" |
25 #include "ipc/mojo/ipc_mojo_bootstrap.h" | 25 #include "ipc/mojo/ipc_mojo_bootstrap.h" |
26 #include "ipc/mojo/ipc_mojo_handle_attachment.h" | 26 #include "ipc/mojo/ipc_mojo_handle_attachment.h" |
27 #include "mojo/edk/embedder/embedder.h" | 27 #include "mojo/edk/embedder/embedder.h" |
28 #include "mojo/public/cpp/bindings/binding.h" | 28 #include "mojo/public/cpp/bindings/binding.h" |
29 | 29 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 DCHECK(ok); | 431 DCHECK(ok); |
432 if (!ok) { | 432 if (!ok) { |
433 LOG(ERROR) << "Failed to add new Mojo handle."; | 433 LOG(ERROR) << "Failed to add new Mojo handle."; |
434 return MOJO_RESULT_UNKNOWN; | 434 return MOJO_RESULT_UNKNOWN; |
435 } | 435 } |
436 } | 436 } |
437 return MOJO_RESULT_OK; | 437 return MOJO_RESULT_OK; |
438 } | 438 } |
439 | 439 |
440 } // namespace IPC | 440 } // namespace IPC |
OLD | NEW |