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

Unified Diff: mojo/public/cpp/application/connect.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/application/connect.h
diff --git a/mojo/public/cpp/application/connect.h b/mojo/public/cpp/application/connect.h
index fb47f5e660ddeecff2a98b06b53d2b54b334cea7..06b79e7e4e0cf0e085024bc759774d1b848d73ad 100644
--- a/mojo/public/cpp/application/connect.h
+++ b/mojo/public/cpp/application/connect.h
@@ -16,7 +16,7 @@ template <typename Interface>
inline void ConnectToService(ServiceProvider* service_provider,
InterfacePtr<Interface>* ptr) {
MessagePipe pipe;
- ptr->Bind(InterfacePtrInfo<Interface>(pipe.handle0.Pass(), 0u));
+ ptr->Bind(InterfaceHandle<Interface>(pipe.handle0.Pass(), 0u));
service_provider->ConnectToService(Interface::Name_, pipe.handle1.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698