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

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

Issue 2696233002: Mojo C++ bindings: remove some usage of AssociatedGroup from user code. (Closed)
Patch Set: . Created 3 years, 10 months 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/binding_set_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/binding_set_unittest.cc b/mojo/public/cpp/bindings/tests/binding_set_unittest.cc
index b7f55b1a05fa9ba0b1373a96f3fe1e8b771f5033..07acfbebe00df09c52a2e5d2f11c7ea3468fae6a 100644
--- a/mojo/public/cpp/bindings/tests/binding_set_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/binding_set_unittest.cc
@@ -184,7 +184,7 @@ TEST_F(BindingSetTest, AssociatedBindingSetContext) {
base::RunLoop loop;
impl.set_new_ping_context(1);
impl.set_new_ping_handler(loop.QuitClosure());
- provider->GetPing(MakeRequest(&ping_a, provider.associated_group()));
+ provider->GetPing(MakeRequest(&ping_a));
loop.Run();
}
@@ -193,7 +193,7 @@ TEST_F(BindingSetTest, AssociatedBindingSetContext) {
base::RunLoop loop;
impl.set_new_ping_context(2);
impl.set_new_ping_handler(loop.QuitClosure());
- provider->GetPing(MakeRequest(&ping_b, provider.associated_group()));
+ provider->GetPing(MakeRequest(&ping_b));
loop.Run();
}
@@ -243,7 +243,7 @@ TEST_F(BindingSetTest, MasterInterfaceBindingSetContext) {
base::RunLoop loop;
impl.set_new_ping_handler(
Sequence(ExpectContext(&bindings, 1), loop.QuitClosure()));
- provider_a->GetPing(MakeRequest(&ping, provider_a.associated_group()));
+ provider_a->GetPing(MakeRequest(&ping));
loop.Run();
}
@@ -252,7 +252,7 @@ TEST_F(BindingSetTest, MasterInterfaceBindingSetContext) {
base::RunLoop loop;
impl.set_new_ping_handler(
Sequence(ExpectContext(&bindings, 2), loop.QuitClosure()));
- provider_b->GetPing(MakeRequest(&ping, provider_b.associated_group()));
+ provider_b->GetPing(MakeRequest(&ping));
loop.Run();
}
@@ -343,7 +343,7 @@ TEST_F(BindingSetTest, AssociatedBindingSetConnectionErrorWithReason) {
run_loop.QuitClosure()));
PingServiceAssociatedPtr ptr;
- master_ptr->GetPing(MakeRequest(&ptr, master_ptr.associated_group()));
+ master_ptr->GetPing(MakeRequest(&ptr));
ptr.ResetWithReason(2048u, "bye");
« no previous file with comments | « mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc ('k') | mojo/public/cpp/bindings/tests/sync_method_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698