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

Unified Diff: jingle/glue/task_pump_unittest.cc

Issue 14307021: jingle: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: jingle/glue/task_pump_unittest.cc
diff --git a/jingle/glue/task_pump_unittest.cc b/jingle/glue/task_pump_unittest.cc
index 614de1e1c4bf70bc13e453ef3177492c050ee7d6..1fae050aab9ada37ffbb7c1b40df6117ca9ad9ee 100644
--- a/jingle/glue/task_pump_unittest.cc
+++ b/jingle/glue/task_pump_unittest.cc
@@ -16,7 +16,7 @@ using ::testing::Return;
class TaskPumpTest : public testing::Test {
private:
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
awong 2013/04/27 00:35:04 Should this use RunLoop instead?
xhwang 2013/04/27 05:03:03 This CL only bulk changes MessageLoop to base::Mes
};
TEST_F(TaskPumpTest, Basic) {
@@ -28,7 +28,7 @@ TEST_F(TaskPumpTest, Basic) {
EXPECT_CALL(*task, ProcessStart()).WillOnce(Return(TASK_STATE_DONE));
task->Start();
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}
TEST_F(TaskPumpTest, Stop) {
@@ -42,7 +42,7 @@ TEST_F(TaskPumpTest, Stop) {
task->Start();
task_pump.Stop();
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698