summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-09 23:01:14 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-09 23:01:14 +0000
commit7768085adc93958aded43db49d3923cb8aff1e90 (patch)
treef07fa70f739927af83f04b0f99536dd06369b3d0 /jingle
parent2fc2962faeff4db3c9de84cd628907e81a4e8090 (diff)
downloadchromium_src-7768085adc93958aded43db49d3923cb8aff1e90.zip
chromium_src-7768085adc93958aded43db49d3923cb8aff1e90.tar.gz
chromium_src-7768085adc93958aded43db49d3923cb8aff1e90.tar.bz2
Removing MessageLoop::QuitTask() from jingle/
base/task.h is going away and being replaced by base/bind.h and base/callback.h. This CL was automatically generated by sed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8885018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/glue/pseudotcp_adapter_unittest.cc4
-rw-r--r--jingle/glue/thread_wrapper_unittest.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/jingle/glue/pseudotcp_adapter_unittest.cc b/jingle/glue/pseudotcp_adapter_unittest.cc
index 7ee217a..84d3b56 100644
--- a/jingle/glue/pseudotcp_adapter_unittest.cc
+++ b/jingle/glue/pseudotcp_adapter_unittest.cc
@@ -204,7 +204,7 @@ class TCPChannelTester : public base::RefCountedThreadSafe<TCPChannelTester> {
protected:
void Done() {
done_ = true;
- message_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
void DoStart() {
@@ -386,7 +386,7 @@ class DeleteOnConnected {
: message_loop_(message_loop), adapter_(adapter) {}
void OnConnected(int error) {
adapter_->reset();
- message_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
MessageLoop* message_loop_;
scoped_ptr<PseudoTcpAdapter>* adapter_;
diff --git a/jingle/glue/thread_wrapper_unittest.cc b/jingle/glue/thread_wrapper_unittest.cc
index 007bc9f..2fef6d3 100644
--- a/jingle/glue/thread_wrapper_unittest.cc
+++ b/jingle/glue/thread_wrapper_unittest.cc
@@ -147,7 +147,7 @@ TEST_F(ThreadWrapperTest, PostDelayed) {
MatchMessage(&handler2_, kTestMessage1, data4)))
.WillOnce(DeleteMessageData());
- message_loop_.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask(),
+ message_loop_.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
kMaxTestDelay);
message_loop_.Run();
}
@@ -197,7 +197,7 @@ TEST_F(ThreadWrapperTest, ClearDelayed) {
MatchMessage(&handler2_, kTestMessage1, null_data)))
.WillOnce(DeleteMessageData());
- message_loop_.PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask(),
+ message_loop_.PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
kMaxTestDelay);
message_loop_.Run();
}