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

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

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « mojo/public/cpp/bindings/associated_interface_ptr.h ('k') | mojo/public/cpp/bindings/interface_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/binding_set.h
diff --git a/mojo/public/cpp/bindings/binding_set.h b/mojo/public/cpp/bindings/binding_set.h
index 0ae23889849f6784a3c6b963cb2bed45488370b8..473bc0c3b80a0cbf9208a7c134b8d011eecedb4e 100644
--- a/mojo/public/cpp/bindings/binding_set.h
+++ b/mojo/public/cpp/bindings/binding_set.h
@@ -27,8 +27,8 @@ struct BindingSetTraits<Binding<Interface>> {
using ProxyType = InterfacePtr<Interface>;
using RequestType = InterfaceRequest<Interface>;
- static RequestType GetProxy(ProxyType* proxy) {
- return mojo::GetProxy(proxy);
+ static RequestType MakeRequest(ProxyType* proxy) {
+ return mojo::MakeRequest(proxy);
}
};
@@ -114,7 +114,7 @@ class BindingSet {
ProxyType CreateInterfacePtrAndBind(Interface* impl,
BindingId* id_storage = nullptr) {
ProxyType proxy;
- BindingId id = AddBinding(impl, Traits::GetProxy(&proxy));
+ BindingId id = AddBinding(impl, Traits::MakeRequest(&proxy));
if (id_storage)
*id_storage = id;
return proxy;
« no previous file with comments | « mojo/public/cpp/bindings/associated_interface_ptr.h ('k') | mojo/public/cpp/bindings/interface_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698