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

Unified Diff: mojo/public/cpp/bindings/tests/union_unittest.cc

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
Index: mojo/public/cpp/bindings/tests/union_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/union_unittest.cc b/mojo/public/cpp/bindings/tests/union_unittest.cc
index b461380d72973390a49bc7ff69f79fc9a575c5bd..29197beda2bc0bd81f623aa260caf5ad538893f3 100644
--- a/mojo/public/cpp/bindings/tests/union_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/union_unittest.cc
@@ -1178,7 +1178,7 @@ TEST(UnionTest, InterfaceInUnion) {
base::RunLoop run_loop;
SmallCacheImpl impl(run_loop.QuitClosure());
SmallCachePtr ptr;
- Binding<SmallCache> bindings(&impl, GetProxy(&ptr));
+ Binding<SmallCache> bindings(&impl, MakeRequest(&ptr));
HandleUnionPtr handle(HandleUnion::New());
handle->set_f_small_cache(std::move(ptr));
@@ -1193,7 +1193,7 @@ TEST(UnionTest, InterfaceInUnionSerialization) {
base::RunLoop run_loop;
SmallCacheImpl impl(run_loop.QuitClosure());
SmallCachePtr ptr;
- Binding<SmallCache> bindings(&impl, GetProxy(&ptr));
+ Binding<SmallCache> bindings(&impl, MakeRequest(&ptr));
mojo::internal::SerializationContext context;
HandleUnionPtr handle(HandleUnion::New());
@@ -1235,7 +1235,7 @@ TEST(UnionTest, UnionInInterface) {
base::MessageLoop message_loop;
UnionInterfaceImpl impl;
UnionInterfacePtr ptr;
- Binding<UnionInterface> bindings(&impl, GetProxy(&ptr));
+ Binding<UnionInterface> bindings(&impl, MakeRequest(&ptr));
PodUnionPtr pod(PodUnion::New());
pod->set_f_int16(16);
« no previous file with comments | « mojo/public/cpp/bindings/tests/sync_method_unittest.cc ('k') | mojo/public/cpp/bindings/tests/wtf_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698