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

Side by Side Diff: shell/child_process_host.h

Issue 1047333002: For the out-of-process NativeRunner, make sure that Start()'s callback always gets called. (Closed) Base URL: https://github.com/domokit/mojo.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 | « shell/application_manager/native_runner.h ('k') | no next file » | 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 SHELL_CHILD_PROCESS_HOST_H_
6 #define SHELL_CHILD_PROCESS_HOST_H_ 6 #define SHELL_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/platform_channel_pair.h" 10 #include "mojo/edk/embedder/platform_channel_pair.h"
11 #include "mojo/edk/embedder/scoped_platform_handle.h" 11 #include "mojo/edk/embedder/scoped_platform_handle.h"
12 #include "shell/child_process.h" // For |ChildProcess::Type|.
13 12
14 namespace mojo { 13 namespace mojo {
15 namespace shell { 14 namespace shell {
16 15
17 class Context; 16 class Context;
18 17
19 // (Base) class for a "child process host". Handles launching and connecting a 18 // (Base) class for a "child process host". Handles launching and connecting a
20 // platform-specific "pipe" to the child, and supports joining the child 19 // platform-specific "pipe" to the child, and supports joining the child
21 // process. 20 // process.
22 // 21 //
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // creation. 63 // creation.
65 embedder::ScopedPlatformHandle platform_channel_; 64 embedder::ScopedPlatformHandle platform_channel_;
66 65
67 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); 66 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost);
68 }; 67 };
69 68
70 } // namespace shell 69 } // namespace shell
71 } // namespace mojo 70 } // namespace mojo
72 71
73 #endif // SHELL_CHILD_PROCESS_HOST_H_ 72 #endif // SHELL_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « shell/application_manager/native_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698