OLD | NEW |
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_SHELL_RUNNER_HOST_CHILD_PROCESS_HOST_H_ | 5 #ifndef SERVICES_SHELL_RUNNER_HOST_CHILD_PROCESS_HOST_H_ |
6 #define MOJO_SHELL_RUNNER_HOST_CHILD_PROCESS_HOST_H_ | 6 #define SERVICES_SHELL_RUNNER_HOST_CHILD_PROCESS_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/process/process.h" | 19 #include "base/process/process.h" |
20 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
21 #include "base/synchronization/waitable_event.h" | 21 #include "base/synchronization/waitable_event.h" |
22 #include "mojo/edk/embedder/platform_channel_pair.h" | 22 #include "mojo/edk/embedder/platform_channel_pair.h" |
23 #include "mojo/public/cpp/system/message_pipe.h" | 23 #include "mojo/public/cpp/system/message_pipe.h" |
24 #include "mojo/shell/public/cpp/identity.h" | 24 #include "services/shell/public/cpp/identity.h" |
25 #include "mojo/shell/public/interfaces/shell_client_factory.mojom.h" | 25 #include "services/shell/public/interfaces/shell_client_factory.mojom.h" |
26 #include "mojo/shell/runner/host/child_process_host.h" | 26 #include "services/shell/runner/host/child_process_host.h" |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class TaskRunner; | 29 class TaskRunner; |
30 } | 30 } |
31 | 31 |
32 namespace mojo { | 32 namespace mojo { |
33 class Identity; | 33 class Identity; |
34 namespace shell { | 34 namespace shell { |
35 | 35 |
36 class NativeRunnerDelegate; | 36 class NativeRunnerDelegate; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 base::WaitableEvent start_child_process_event_; | 90 base::WaitableEvent start_child_process_event_; |
91 | 91 |
92 base::WeakPtrFactory<ChildProcessHost> weak_factory_; | 92 base::WeakPtrFactory<ChildProcessHost> weak_factory_; |
93 | 93 |
94 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); | 94 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); |
95 }; | 95 }; |
96 | 96 |
97 } // namespace shell | 97 } // namespace shell |
98 } // namespace mojo | 98 } // namespace mojo |
99 | 99 |
100 #endif // MOJO_SHELL_RUNNER_HOST_CHILD_PROCESS_HOST_H_ | 100 #endif // SERVICES_SHELL_RUNNER_HOST_CHILD_PROCESS_HOST_H_ |
OLD | NEW |