| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/message_loop/message_loop_proxy_impl.h" | |
| 14 #include "base/message_loop/message_loop_test.h" | 13 #include "base/message_loop/message_loop_test.h" |
| 15 #include "base/pending_task.h" | 14 #include "base/pending_task.h" |
| 16 #include "base/posix/eintr_wrapper.h" | 15 #include "base/posix/eintr_wrapper.h" |
| 17 #include "base/run_loop.h" | 16 #include "base/run_loop.h" |
| 18 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
| 19 #include "base/thread_task_runner_handle.h" | 18 #include "base/thread_task_runner_handle.h" |
| 20 #include "base/threading/platform_thread.h" | 19 #include "base/threading/platform_thread.h" |
| 21 #include "base/threading/thread.h" | 20 #include "base/threading/thread.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 23 | 22 |
| (...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1006 | 1005 |
| 1007 ASSERT_TRUE(PostMessage(message_hwnd, kSignalMsg, 0, 1)); | 1006 ASSERT_TRUE(PostMessage(message_hwnd, kSignalMsg, 0, 1)); |
| 1008 | 1007 |
| 1009 loop.Run(); | 1008 loop.Run(); |
| 1010 | 1009 |
| 1011 ASSERT_TRUE(UnregisterClass(MAKEINTATOM(atom), instance)); | 1010 ASSERT_TRUE(UnregisterClass(MAKEINTATOM(atom), instance)); |
| 1012 } | 1011 } |
| 1013 #endif // defined(OS_WIN) | 1012 #endif // defined(OS_WIN) |
| 1014 | 1013 |
| 1015 } // namespace base | 1014 } // namespace base |
| OLD | NEW |