| Index: mojo/public/cpp/application/application_connection.h
|
| diff --git a/mojo/public/cpp/application/application_connection.h b/mojo/public/cpp/application/application_connection.h
|
| index 33a7d048ad2504218badf1bc9c3dcba844e54524..9e6d39cf00ed2b4f0bd8cf0cfc6baa3a0b86de0f 100644
|
| --- a/mojo/public/cpp/application/application_connection.h
|
| +++ b/mojo/public/cpp/application/application_connection.h
|
| @@ -47,18 +47,6 @@ class ApplicationConnection {
|
| Interface::Name_);
|
| }
|
|
|
| - // Binds |ptr| to an implemention of Interface in the remote application.
|
| - // |ptr| can immediately be used to start sending requests to the remote
|
| - // service.
|
| - template <typename Interface>
|
| - void ConnectToService(InterfacePtr<Interface>* ptr) {
|
| - if (ServiceProvider* sp = GetServiceProvider()) {
|
| - MessagePipe pipe;
|
| - ptr->Bind(InterfaceHandle<Interface>(pipe.handle0.Pass(), 0u));
|
| - sp->ConnectToService(Interface::Name_, pipe.handle1.Pass());
|
| - }
|
| - }
|
| -
|
| // Returns the URL that was used by the source application to establish a
|
| // connection to the destination application.
|
| //
|
|
|