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

Side by Side Diff: services/service_manager/runner/host/child_process_host.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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
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 SERVICES_SERVICE_MANAGER_RUNNER_HOST_CHILD_PROCESS_HOST_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_RUNNER_HOST_CHILD_PROCESS_HOST_H_
6 #define SERVICES_SERVICE_MANAGER_RUNNER_HOST_CHILD_PROCESS_HOST_H_ 6 #define SERVICES_SERVICE_MANAGER_RUNNER_HOST_CHILD_PROCESS_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 11 matching lines...) Expand all
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 "services/service_manager/public/cpp/identity.h" 24 #include "services/service_manager/public/cpp/identity.h"
25 #include "services/service_manager/public/interfaces/service_factory.mojom.h" 25 #include "services/service_manager/public/interfaces/service_factory.mojom.h"
26 #include "services/service_manager/runner/host/child_process_host.h" 26 #include "services/service_manager/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 shell { 32 namespace service_manager {
33 33
34 class Identity; 34 class Identity;
35 class NativeRunnerDelegate; 35 class NativeRunnerDelegate;
36 36
37 // This class represents a "child process host". Handles launching and 37 // This class represents a "child process host". Handles launching and
38 // connecting a platform-specific "pipe" to the child, and supports joining the 38 // connecting a platform-specific "pipe" to the child, and supports joining the
39 // child process. Currently runs a single app (loaded from the file system). 39 // child process. Currently runs a single app (loaded from the file system).
40 // 40 //
41 // This class is not thread-safe. It should be created/used/destroyed on a 41 // This class is not thread-safe. It should be created/used/destroyed on a
42 // single thread. 42 // single thread.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Since Start() calls a method on another thread, we use an event to block 88 // Since Start() calls a method on another thread, we use an event to block
89 // the main thread if it tries to destruct |this| while launching the process. 89 // the main thread if it tries to destruct |this| while launching the process.
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 service_manager
98 98
99 #endif // SERVICES_SERVICE_MANAGER_RUNNER_HOST_CHILD_PROCESS_HOST_H_ 99 #endif // SERVICES_SERVICE_MANAGER_RUNNER_HOST_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « services/service_manager/runner/host/child_process_base.cc ('k') | services/service_manager/runner/host/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698