| Index: services/service_manager/runner/host/mach_broker.h
|
| diff --git a/services/service_manager/runner/host/mach_broker.h b/services/service_manager/runner/host/mach_broker.h
|
| index 43258420435f60f05ba0742f021c235e75437cd6..5d139da9916a7bb9ec31ef1cba501655eb7b5687 100644
|
| --- a/services/service_manager/runner/host/mach_broker.h
|
| +++ b/services/service_manager/runner/host/mach_broker.h
|
| @@ -13,15 +13,16 @@ template <typename T> struct DefaultSingletonTraits;
|
|
|
| namespace service_manager {
|
|
|
| -// A global singleton |MachBroker| is used by the shell to provide access to
|
| -// Mach task ports for shell out-of-process applications.
|
| +// A global singleton |MachBroker| is used by the service manager to provide
|
| +// access to
|
| +// Mach task ports for service manager out-of-process applications.
|
| class MachBroker {
|
| public:
|
| // Sends the task port of the current process to the parent over Mach IPC.
|
| // For use in child processes.
|
| static void SendTaskPortToParent();
|
|
|
| - // Returns the global |MachBroker|. For use in the shell.
|
| + // Returns the global |MachBroker|. For use in the service manager.
|
| static MachBroker* GetInstance();
|
|
|
| // Registers |pid| with a MACH_PORT_NULL task port in the port provider. A
|
|
|