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

Side by Side Diff: mojo/runner/child_process_host.h

Issue 1091513005: Separate mojo/shell into a runner and the application manager (shell) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 8 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/runner/child_process.mojom ('k') | mojo/runner/child_process_host.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 #ifndef SHELL_CHILD_PROCESS_HOST_H_ 5 #ifndef MOJO_RUNNER_CHILD_PROCESS_HOST_H_
6 #define SHELL_CHILD_PROCESS_HOST_H_ 6 #define MOJO_RUNNER_CHILD_PROCESS_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "mojo/edk/embedder/channel_info_forward.h" 10 #include "mojo/edk/embedder/channel_info_forward.h"
11 #include "mojo/edk/embedder/platform_channel_pair.h" 11 #include "mojo/edk/embedder/platform_channel_pair.h"
12 #include "mojo/edk/embedder/scoped_platform_handle.h" 12 #include "mojo/edk/embedder/scoped_platform_handle.h"
13 #include "mojo/shell/child_process.mojom.h" 13 #include "mojo/runner/child_process.mojom.h"
14 #include "mojo/shell/child_process_host.h" 14 #include "mojo/runner/child_process_host.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace shell { 17 namespace shell {
18 18
19 class Context; 19 class Context;
20 20
21 // This class represents a "child process host". Handles launching and 21 // This class represents a "child process host". Handles launching and
22 // connecting a platform-specific "pipe" to the child, and supports joining the 22 // connecting a platform-specific "pipe" to the child, and supports joining the
23 // child process. Currently runs a single app (loaded from the file system). 23 // child process. Currently runs a single app (loaded from the file system).
24 // 24 //
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Platform-specific "pipe" to the child process. Valid immediately after 76 // Platform-specific "pipe" to the child process. Valid immediately after
77 // creation. 77 // creation.
78 embedder::ScopedPlatformHandle platform_channel_; 78 embedder::ScopedPlatformHandle platform_channel_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); 80 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost);
81 }; 81 };
82 82
83 } // namespace shell 83 } // namespace shell
84 } // namespace mojo 84 } // namespace mojo
85 85
86 #endif // SHELL_CHILD_PROCESS_HOST_H_ 86 #endif // MOJO_RUNNER_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « mojo/runner/child_process.mojom ('k') | mojo/runner/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698