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

Side by Side Diff: jingle/glue/task_pump_unittest.cc

Issue 19607005: Use a direct include of the message_loop header in dbus/, device/, extensions/, google_apis/, gpu/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/glue/task_pump.cc ('k') | jingle/glue/thread_wrapper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "jingle/glue/task_pump.h" 5 #include "jingle/glue/task_pump.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "jingle/glue/mock_task.h" 8 #include "jingle/glue/mock_task.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace jingle_glue { 11 namespace jingle_glue {
12 12
13 namespace { 13 namespace {
14 14
15 using ::testing::Return; 15 using ::testing::Return;
16 16
17 class TaskPumpTest : public testing::Test { 17 class TaskPumpTest : public testing::Test {
(...skipping 23 matching lines...) Expand all
41 EXPECT_CALL(*task, ProcessStart()).Times(0); 41 EXPECT_CALL(*task, ProcessStart()).Times(0);
42 task->Start(); 42 task->Start();
43 43
44 task_pump.Stop(); 44 task_pump.Stop();
45 base::MessageLoop::current()->RunUntilIdle(); 45 base::MessageLoop::current()->RunUntilIdle();
46 } 46 }
47 47
48 } // namespace 48 } // namespace
49 49
50 } // namespace jingle_glue 50 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/task_pump.cc ('k') | jingle/glue/thread_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698