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

Unified Diff: mojo/public/cpp/bindings/tests/equals_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/equals_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/equals_unittest.cc b/mojo/public/cpp/bindings/tests/equals_unittest.cc
index 376c2bd4ff7bdba3e26e36da890051ae2efec80f..466b58d35fe8f89c52c01ccb6c2399c7c21df464 100644
--- a/mojo/public/cpp/bindings/tests/equals_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/equals_unittest.cc
@@ -124,13 +124,13 @@ TEST_F(EqualsTest, InterfacePtr) {
EXPECT_TRUE(inf1.Equals(inf1));
EXPECT_TRUE(inf1.Equals(inf2));
- auto inf1_request = GetProxy(&inf1);
+ auto inf1_request = MakeRequest(&inf1);
ALLOW_UNUSED_LOCAL(inf1_request);
EXPECT_TRUE(inf1.Equals(inf1));
EXPECT_FALSE(inf1.Equals(inf2));
- auto inf2_request = GetProxy(&inf2);
+ auto inf2_request = MakeRequest(&inf2);
ALLOW_UNUSED_LOCAL(inf2_request);
EXPECT_FALSE(inf1.Equals(inf2));
@@ -146,13 +146,13 @@ TEST_F(EqualsTest, InterfaceRequest) {
EXPECT_TRUE(req1.Equals(req2));
SomeInterfacePtr inf1;
- req1 = GetProxy(&inf1);
+ req1 = MakeRequest(&inf1);
EXPECT_TRUE(req1.Equals(req1));
EXPECT_FALSE(req1.Equals(req2));
SomeInterfacePtr inf2;
- req2 = GetProxy(&inf2);
+ req2 = MakeRequest(&inf2);
EXPECT_FALSE(req1.Equals(req2));
}
« no previous file with comments | « mojo/public/cpp/bindings/tests/data_view_unittest.cc ('k') | mojo/public/cpp/bindings/tests/handle_passing_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698