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

Side by Side Diff: base/message_loop/message_loop_proxy_impl_unittest.cc

Issue 19224003: Use a direct include of the message_loop header in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
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 "base/message_loop/message_loop_proxy_impl.h" 5 #include "base/message_loop/message_loop_proxy_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "testing/platform_test.h" 13 #include "testing/platform_test.h"
14 14
15 namespace base { 15 namespace base {
16 16
17 class MessageLoopProxyImplTest : public testing::Test { 17 class MessageLoopProxyImplTest : public testing::Test {
18 public: 18 public:
19 void Release() const { 19 void Release() const {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 test_thread->Start(); 120 test_thread->Start();
121 message_loop_proxy = test_thread->message_loop_proxy(); 121 message_loop_proxy = test_thread->message_loop_proxy();
122 } 122 }
123 bool ret = message_loop_proxy->PostTask( 123 bool ret = message_loop_proxy->PostTask(
124 FROM_HERE, 124 FROM_HERE,
125 Bind(&MessageLoopProxyImplTest::AssertNotRun)); 125 Bind(&MessageLoopProxyImplTest::AssertNotRun));
126 EXPECT_FALSE(ret); 126 EXPECT_FALSE(ret);
127 } 127 }
128 128
129 } // namespace base 129 } // namespace base
OLDNEW
« no previous file with comments | « base/message_loop/message_loop_proxy_impl.h ('k') | base/message_loop/message_loop_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698