Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: mojo/shell/runner/host/child_process.cc

Issue 1761153002: Replace ChildController with ShellClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@29binding
Patch Set: . Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/shell/runner/host/BUILD.gn ('k') | mojo/shell/runner/host/child_process_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "mojo/shell/runner/host/child_process.h" 5 #include "mojo/shell/runner/host/child_process.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 15 matching lines...) Expand all
26 #include "base/thread_task_runner_handle.h" 26 #include "base/thread_task_runner_handle.h"
27 #include "base/threading/thread.h" 27 #include "base/threading/thread.h"
28 #include "base/threading/thread_checker.h" 28 #include "base/threading/thread_checker.h"
29 #include "mojo/edk/embedder/embedder.h" 29 #include "mojo/edk/embedder/embedder.h"
30 #include "mojo/edk/embedder/platform_channel_pair.h" 30 #include "mojo/edk/embedder/platform_channel_pair.h"
31 #include "mojo/edk/embedder/process_delegate.h" 31 #include "mojo/edk/embedder/process_delegate.h"
32 #include "mojo/edk/embedder/scoped_platform_handle.h" 32 #include "mojo/edk/embedder/scoped_platform_handle.h"
33 #include "mojo/message_pump/message_pump_mojo.h" 33 #include "mojo/message_pump/message_pump_mojo.h"
34 #include "mojo/public/cpp/bindings/binding.h" 34 #include "mojo/public/cpp/bindings/binding.h"
35 #include "mojo/public/cpp/system/core.h" 35 #include "mojo/public/cpp/system/core.h"
36 #include "mojo/shell/runner/child/child_controller.mojom.h"
37 #include "mojo/shell/runner/common/switches.h" 36 #include "mojo/shell/runner/common/switches.h"
38 #include "mojo/shell/runner/host/child_process_base.h" 37 #include "mojo/shell/runner/host/child_process_base.h"
39 #include "mojo/shell/runner/host/native_application_support.h" 38 #include "mojo/shell/runner/host/native_application_support.h"
40 #include "mojo/shell/runner/init.h" 39 #include "mojo/shell/runner/init.h"
41 40
42 #if defined(OS_LINUX) && !defined(OS_ANDROID) 41 #if defined(OS_LINUX) && !defined(OS_ANDROID)
43 #include "base/rand_util.h" 42 #include "base/rand_util.h"
44 #include "base/sys_info.h" 43 #include "base/sys_info.h"
45 #include "mojo/shell/runner/host/linux_sandbox.h" 44 #include "mojo/shell/runner/host/linux_sandbox.h"
46 #endif 45 #endif
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 sandbox = InitializeSandbox(); 113 sandbox = InitializeSandbox();
115 #endif 114 #endif
116 115
117 ChildProcessMain(base::Bind(&RunNativeLibrary, app_library)); 116 ChildProcessMain(base::Bind(&RunNativeLibrary, app_library));
118 117
119 return 0; 118 return 0;
120 } 119 }
121 120
122 } // namespace shell 121 } // namespace shell
123 } // namespace mojo 122 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/runner/host/BUILD.gn ('k') | mojo/shell/runner/host/child_process_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698