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

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

Issue 1419293003: Allow mojo_runner to connect to arbitrary executables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 MOJO_RUNNER_CHILD_PROCESS_HOST_H_ 5 #ifndef MOJO_RUNNER_CHILD_PROCESS_HOST_H_
6 #define MOJO_RUNNER_CHILD_PROCESS_HOST_H_ 6 #define MOJO_RUNNER_CHILD_PROCESS_HOST_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/process/process.h" 11 #include "base/process/process.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "mojo/runner/child_process.mojom.h" 13 #include "mojo/runner/child/child_controller.mojom.h"
14 #include "mojo/runner/child_process_host.h" 14 #include "mojo/runner/child_process_host.h"
15 #include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h" 15 #include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h"
16 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h" 16 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h"
17 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h" 17 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h"
18 18
19 namespace mojo { 19 namespace mojo {
20 namespace runner { 20 namespace runner {
21 21
22 class Context; 22 class Context;
23 23
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 base::WeakPtrFactory<ChildProcessHost> weak_factory_; 85 base::WeakPtrFactory<ChildProcessHost> weak_factory_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); 87 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost);
88 }; 88 };
89 89
90 } // namespace runner 90 } // namespace runner
91 } // namespace mojo 91 } // namespace mojo
92 92
93 #endif // MOJO_RUNNER_CHILD_PROCESS_HOST_H_ 93 #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