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

Unified Diff: services/service_manager/public/cpp/connector.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/public/cpp/connector.h
diff --git a/services/service_manager/public/cpp/connector.h b/services/service_manager/public/cpp/connector.h
index 58d095f3111dd57054dfd1775aa8fce798a94ff1..1b39e9771509ea2d56ad9a94dc4b628f88a81f0b 100644
--- a/services/service_manager/public/cpp/connector.h
+++ b/services/service_manager/public/cpp/connector.h
@@ -15,18 +15,21 @@
namespace service_manager {
-// An interface that encapsulates the Mojo Shell's broker interface by which
-// connections between applications are established. Once Connect() is called,
+// An interface that encapsulates the Service Manager's brokering interface, by
+// which
+// connections between services are established. Once Connect() is called,
// this class is bound to the thread the call was made on and it cannot be
// passed to another thread without calling Clone().
+//
// An instance of this class is created internally by ServiceContext for use
-// on the thread ServiceContext is instantiated on, and this interface is
-// wrapped by the Shell interface.
-// To use this interface on other threads, call Shell::CloneConnector() and
-// pass the result to another thread. To pass to subsequent threads, call
-// Clone() on instances of this object.
+// on the thread ServiceContext is instantiated on.
+//
+// To use this interface on another thread, call Clone() and pass the new
+// instance to the desired thread before calling Connect().
+//
// While instances of this object are owned by the caller, the underlying
-// connection with the shell is bound to the lifetime of the instance that
+// connection with the service manager is bound to the lifetime of the instance
+// that
// created it, i.e. when the application is terminated the Connector pipe is
// closed.
class Connector {
« no previous file with comments | « services/service_manager/public/cpp/connection.h ('k') | services/service_manager/public/cpp/lib/connector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698