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

Unified Diff: remoting/protocol/jingle_session_unittest.cc

Issue 8493020: Move code in src/remoting to the new callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: - Created 9 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 | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/protocol_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session_unittest.cc
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc
index ef5eb783f42acbe5814eb25a200c565614b89ef8..f96f03876e13a8a3cb5090a47027355596b8e454 100644
--- a/remoting/protocol/jingle_session_unittest.cc
+++ b/remoting/protocol/jingle_session_unittest.cc
@@ -317,7 +317,7 @@ class ChannelTesterBase : public base::RefCountedThreadSafe<ChannelTesterBase> {
void Start() {
MessageLoop::current()->PostTask(
- FROM_HERE, NewRunnableMethod(this, &ChannelTesterBase::DoStart));
+ FROM_HERE, base::Bind(&ChannelTesterBase::DoStart, this));
}
bool WaitFinished() {
@@ -607,7 +607,7 @@ class UDPChannelTester : public ChannelTesterBase {
EXPECT_EQ(kMessageSize, result);
packets_sent_++;
MessageLoop::current()->PostDelayedTask(
- FROM_HERE, NewRunnableMethod(this, &UDPChannelTester::DoWrite),
+ FROM_HERE, base::Bind(&UDPChannelTester::DoWrite, this),
kUdpWriteDelayMs);
}
}
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/protocol_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698