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 <stdint.h> |
| 6 |
| 7 #include "base/macros.h" |
5 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
6 #include "base/thread_task_runner_handle.h" | 9 #include "base/thread_task_runner_handle.h" |
| 10 #include "build/build_config.h" |
7 #include "content/browser/mojo/mojo_shell_client_host.h" | 11 #include "content/browser/mojo/mojo_shell_client_host.h" |
8 #include "content/common/mojo/mojo_messages.h" | 12 #include "content/common/mojo/mojo_messages.h" |
9 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
10 #include "content/public/browser/render_process_host.h" | 14 #include "content/public/browser/render_process_host.h" |
11 #include "content/public/common/mojo_shell_connection.h" | 15 #include "content/public/common/mojo_shell_connection.h" |
12 #include "ipc/ipc_sender.h" | 16 #include "ipc/ipc_sender.h" |
13 #include "mojo/application/public/cpp/application_impl.h" | 17 #include "mojo/application/public/cpp/application_impl.h" |
14 #include "mojo/application/public/interfaces/application_manager.mojom.h" | 18 #include "mojo/application/public/interfaces/application_manager.mojom.h" |
15 #include "mojo/converters/network/network_type_converters.h" | 19 #include "mojo/converters/network/network_type_converters.h" |
16 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" | 20 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 BrowserThread::UI, | 167 BrowserThread::UI, |
164 FROM_HERE, | 168 FROM_HERE, |
165 base::Bind(CallRegisterProcessWithBroker, pid, | 169 base::Bind(CallRegisterProcessWithBroker, pid, |
166 platform_handle_wrapper)); | 170 platform_handle_wrapper)); |
167 } | 171 } |
168 | 172 |
169 return platform_channel_pair.PassClientHandle(); | 173 return platform_channel_pair.PassClientHandle(); |
170 } | 174 } |
171 | 175 |
172 } // namespace content | 176 } // namespace content |
OLD | NEW |