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

Side by Side Diff: shell/child_process_host.cc

Issue 1532183002: EDK: Split embedder.* into embedder.* and multiprocess_embedder.*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | « shell/child_main.cc ('k') | shell/context.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 "shell/child_process_host.h" 5 #include "shell/child_process_host.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/process/kill.h" 14 #include "base/process/kill.h"
15 #include "base/process/launch.h" 15 #include "base/process/launch.h"
16 #include "base/task_runner.h" 16 #include "base/task_runner.h"
17 #include "base/task_runner_util.h" 17 #include "base/task_runner_util.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/thread_task_runner_handle.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "mojo/edk/base_edk/platform_task_runner_impl.h" 20 #include "mojo/edk/base_edk/platform_task_runner_impl.h"
21 #include "mojo/edk/embedder/embedder.h" 21 #include "mojo/edk/embedder/multiprocess_embedder.h"
22 #include "mojo/edk/embedder/platform_channel_pair.h" 22 #include "mojo/edk/embedder/platform_channel_pair.h"
23 #include "mojo/edk/util/ref_ptr.h" 23 #include "mojo/edk/util/ref_ptr.h"
24 #include "mojo/public/cpp/system/message_pipe.h" 24 #include "mojo/public/cpp/system/message_pipe.h"
25 #include "shell/application_manager/native_application_options.h" 25 #include "shell/application_manager/native_application_options.h"
26 #include "shell/child_switches.h" 26 #include "shell/child_switches.h"
27 #include "shell/context.h" 27 #include "shell/context.h"
28 #include "shell/task_runners.h" 28 #include "shell/task_runners.h"
29 29
30 using mojo::util::MakeRefCounted; 30 using mojo::util::MakeRefCounted;
31 31
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 on_app_complete_.reset(); 170 on_app_complete_.reset();
171 on_app_complete.Run(result); 171 on_app_complete.Run(result);
172 } 172 }
173 } 173 }
174 174
175 void ChildProcessHost::OnConnectionError() { 175 void ChildProcessHost::OnConnectionError() {
176 AppCompleted(MOJO_RESULT_UNKNOWN); 176 AppCompleted(MOJO_RESULT_UNKNOWN);
177 } 177 }
178 178
179 } // namespace shell 179 } // namespace shell
OLDNEW
« no previous file with comments | « shell/child_main.cc ('k') | shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698