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

Unified Diff: dbus/end_to_end_async_unittest.cc

Issue 24554002: dbus: Replace PostTaskTo*Thread methods with Get*TaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « dbus/bus.cc ('k') | dbus/exported_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/end_to_end_async_unittest.cc
diff --git a/dbus/end_to_end_async_unittest.cc b/dbus/end_to_end_async_unittest.cc
index 1f2538af27893704bd855a7b13e694a9d3e5a110..fb8030bf4cb86d0d4f5202cf562e24faaafdfa0b 100644
--- a/dbus/end_to_end_async_unittest.cc
+++ b/dbus/end_to_end_async_unittest.cc
@@ -580,9 +580,9 @@ TEST_F(EndToEndAsyncTest, TestHugeSignal) {
}
TEST_F(EndToEndAsyncTest, DisconnectedSignal) {
- bus_->PostTaskToDBusThread(FROM_HERE,
- base::Bind(&Bus::ClosePrivateConnection,
- base::Unretained(bus_.get())));
+ bus_->GetDBusTaskRunner()->PostTask(FROM_HERE,
+ base::Bind(&Bus::ClosePrivateConnection,
+ base::Unretained(bus_.get())));
// OnDisconnected callback quits message loop.
message_loop_.Run();
EXPECT_EQ(1, on_disconnected_call_count_);
« no previous file with comments | « dbus/bus.cc ('k') | dbus/exported_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698