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

Unified Diff: mojo/public/cpp/bindings/tests/bindings_perftest.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/bindings_perftest.cc
diff --git a/mojo/public/cpp/bindings/tests/bindings_perftest.cc b/mojo/public/cpp/bindings/tests/bindings_perftest.cc
index 0da5af69456d625ccb3cd1c6a6efd801d1d6653e..44fa8e3bacae30d807f99ffc207fe072e9f9ffd9 100644
--- a/mojo/public/cpp/bindings/tests/bindings_perftest.cc
+++ b/mojo/public/cpp/bindings/tests/bindings_perftest.cc
@@ -86,9 +86,7 @@ void PingPongTest::OnPingDone() {
}
struct BoundPingService {
- BoundPingService() : binding(&impl) {
- binding.Bind(GetProxy(&service));
- }
+ BoundPingService() : binding(&impl) { binding.Bind(MakeRequest(&service)); }
PingServiceImpl impl;
test::PingServicePtr service;
@@ -106,7 +104,7 @@ class MojoBindingsPerftest : public testing::Test {
TEST_F(MojoBindingsPerftest, InProcessPingPong) {
test::PingServicePtr service;
PingServiceImpl impl;
- Binding<test::PingService> binding(&impl, GetProxy(&service));
+ Binding<test::PingService> binding(&impl, MakeRequest(&service));
PingPongTest test(std::move(service));
{
« no previous file with comments | « mojo/public/cpp/bindings/tests/binding_unittest.cc ('k') | mojo/public/cpp/bindings/tests/data_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698