Index: services/shell/public/cpp/connector.h |
diff --git a/services/shell/public/cpp/connector.h b/services/shell/public/cpp/connector.h |
index 2f26e4c26db6ff8dd9b998caabccb3b5edc577f3..dfc440b55f7c7ac50e0a965a5fae260ff002aeba 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. |