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

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

Issue 1486713002: Mojo C++ bindings: Add an alias, BarAssociatedPtr, for AssociatedInterfacePtr<Bar>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc b/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
index 3ba9941e895d6ed6b986010c6dd6e05773573226..09885ea1520f0df4defdfc397bf585cee12609c4 100644
--- a/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
@@ -477,7 +477,7 @@ TEST_F(AssociatedInterfaceTest, PassAssociatedInterfaces) {
IntegerSenderConnectionPtr connection_ptr;
IntegerSenderConnectionImpl connection(GetProxy(&connection_ptr));
- AssociatedInterfacePtr<IntegerSender> sender0;
+ IntegerSenderAssociatedPtr sender0;
connection_ptr->GetSender(
GetProxy(&sender0, connection_ptr.associated_group()));
@@ -486,7 +486,7 @@ TEST_F(AssociatedInterfaceTest, PassAssociatedInterfaces) {
PumpMessages();
EXPECT_EQ(123, echoed_value);
- AssociatedInterfacePtr<IntegerSender> sender1;
+ IntegerSenderAssociatedPtr sender1;
connection_ptr->AsyncGetSender(
[&sender1](AssociatedInterfacePtrInfo<IntegerSender> ptr_info) {
sender1.Bind(ptr_info.Pass());
« no previous file with comments | « no previous file | mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698