OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <utility> | 10 #include <utility> |
8 | 11 |
9 #include "base/bind.h" | 12 #include "base/bind.h" |
10 #include "base/debug/stack_trace.h" | 13 #include "base/debug/stack_trace.h" |
11 #include "base/logging.h" | 14 #include "base/logging.h" |
12 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
13 #include "mojo/edk/embedder/embedder_internal.h" | 16 #include "mojo/edk/embedder/embedder_internal.h" |
14 #include "mojo/edk/embedder/platform_handle_utils.h" | 17 #include "mojo/edk/embedder/platform_handle_utils.h" |
15 #include "mojo/edk/embedder/platform_shared_buffer.h" | 18 #include "mojo/edk/embedder/platform_shared_buffer.h" |
16 #include "mojo/edk/embedder/platform_support.h" | 19 #include "mojo/edk/embedder/platform_support.h" |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 // PostTask since the broker can call us back synchronously. | 1005 // PostTask since the broker can call us back synchronously. |
1003 internal::g_io_thread_task_runner->PostTask( | 1006 internal::g_io_thread_task_runner->PostTask( |
1004 FROM_HERE, | 1007 FROM_HERE, |
1005 base::Bind(&Broker::ConnectMessagePipe, | 1008 base::Bind(&Broker::ConnectMessagePipe, |
1006 base::Unretained(internal::g_broker), pipe_id_, | 1009 base::Unretained(internal::g_broker), pipe_id_, |
1007 base::Unretained(this))); | 1010 base::Unretained(this))); |
1008 } | 1011 } |
1009 | 1012 |
1010 } // namespace edk | 1013 } // namespace edk |
1011 } // namespace mojo | 1014 } // namespace mojo |
OLD | NEW |