Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: mojo/public/cpp/bindings/interface_request.h

Issue 1660403003: Mojo C++ bindings: Rename InterfaceInfoPtr -> InterfaceHandle (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: using {{InterfaceName}}Handle = InterfaceHandle<{{InterfaceName}}> Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/interface_request.h
diff --git a/mojo/public/cpp/bindings/interface_request.h b/mojo/public/cpp/bindings/interface_request.h
index 2a5ec04240d140e99bd54ed9e8049795dfcb9e96..515fe88b70b9eabaac82f386dd1731be072fcac4 100644
--- a/mojo/public/cpp/bindings/interface_request.h
+++ b/mojo/public/cpp/bindings/interface_request.h
@@ -15,7 +15,7 @@ template <typename I>
class InterfacePtr;
template <typename I>
-class InterfacePtrInfo;
+class InterfaceHandle;
// Represents a request from a remote client for an implementation of Interface
// over a specified message pipe. The implementor of the interface should
@@ -118,7 +118,7 @@ InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle) {
template <typename Interface>
InterfaceRequest<Interface> GetProxy(InterfacePtr<Interface>* ptr) {
MessagePipe pipe;
- ptr->Bind(InterfacePtrInfo<Interface>(pipe.handle0.Pass(), 0u));
+ ptr->Bind(InterfaceHandle<Interface>(pipe.handle0.Pass(), 0u));
return MakeRequest<Interface>(pipe.handle1.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698