Index: services/shell/public/cpp/connector.h |
diff --git a/services/shell/public/cpp/connector.h b/services/shell/public/cpp/connector.h |
index f862d262aac34edf019426cad10923b85ccb3d4b..9eca2f0ee2cb082e9ea04c261fd942feb79a882b 100644 |
--- a/services/shell/public/cpp/connector.h |
+++ b/services/shell/public/cpp/connector.h |
@@ -72,6 +72,10 @@ class Connector { |
DISALLOW_COPY_AND_ASSIGN(ConnectParams); |
}; |
+ // Creates a new Connector instance and fills in |*request| with a request |
+ // for the other end the Connector's interface. |
+ static std::unique_ptr<Connector> Create(mojom::ConnectorRequest* request); |
+ |
// Requests a new connection to an application. Returns a pointer to the |
// connection if the connection is permitted by this application's delegate, |
// or nullptr otherwise. Caller takes ownership. |