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

Unified Diff: services/service_manager/runner/host/mach_broker.h

Issue 2427443002: Replace remaining shell references with 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698