| Index: mojo/public/cpp/bindings/associated_interface_ptr.h
|
| diff --git a/mojo/public/cpp/bindings/associated_interface_ptr.h b/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| index 8e66f4eba05b594cf060d19ec5f53fc2e57af7fe..1d2ec0c1537a70eed7b6a60b47c05fda348cee64 100644
|
| --- a/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| +++ b/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| @@ -232,10 +232,9 @@ AssociatedInterfaceRequest<Interface> MakeRequest(
|
| return request;
|
| }
|
|
|
| -// Like |GetProxy|, but the interface is never associated with any other
|
| -// interface. The returned request can be bound directly to the corresponding
|
| -// associated interface implementation, without first passing it through a
|
| -// message pipe endpoint.
|
| +// Like MakeRequest() above, but it creates a dedicated message pipe. The
|
| +// returned request can be bound directly to an implementation, without being
|
| +// first passed through a message pipe endpoint.
|
| //
|
| // This function has two main uses:
|
| //
|
| @@ -245,7 +244,7 @@ AssociatedInterfaceRequest<Interface> MakeRequest(
|
| // * When discarding messages sent on an interface, which can be done by
|
| // discarding the returned request.
|
| template <typename Interface>
|
| -AssociatedInterfaceRequest<Interface> GetIsolatedProxy(
|
| +AssociatedInterfaceRequest<Interface> MakeIsolatedRequest(
|
| AssociatedInterfacePtr<Interface>* ptr) {
|
| MessagePipe pipe;
|
| scoped_refptr<internal::MultiplexRouter> router0 =
|
| @@ -271,15 +270,6 @@ AssociatedInterfaceRequest<Interface> GetIsolatedProxy(
|
| return request;
|
| }
|
|
|
| -// Creates an associated interface proxy in its own AssociatedGroup.
|
| -// TODO(yzshen): Rename GetIsolatedProxy() to MakeIsolatedRequest(), and change
|
| -// all callsites of this function to directly use that.
|
| -template <typename Interface>
|
| -AssociatedInterfaceRequest<Interface> MakeRequestForTesting(
|
| - AssociatedInterfacePtr<Interface>* ptr) {
|
| - return GetIsolatedProxy(ptr);
|
| -}
|
| -
|
| } // namespace mojo
|
|
|
| #endif // MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_
|
|
|