| Index: mojo/shell/public/cpp/connector.h
|
| diff --git a/mojo/shell/public/cpp/connector.h b/mojo/shell/public/cpp/connector.h
|
| index be6ba4376276a0e3035666d64a911fa4777a5420..804eb03dcf559bdc4856622c7acc69e3877b0aad 100644
|
| --- a/mojo/shell/public/cpp/connector.h
|
| +++ b/mojo/shell/public/cpp/connector.h
|
| @@ -62,6 +62,12 @@ class Connector {
|
| connection->GetInterface(ptr);
|
| }
|
| template <typename Interface>
|
| + void ConnectToInterface(const Identity& target,
|
| + InterfacePtr<Interface>* ptr) {
|
| + ConnectParams params(target);
|
| + return ConnectToInterface(¶ms, ptr);
|
| + }
|
| + template <typename Interface>
|
| void ConnectToInterface(const std::string& name,
|
| InterfacePtr<Interface>* ptr) {
|
| ConnectParams params(name);
|
|
|