| OLD | NEW |
| 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.h" | 5 #include "base/message_loop.h" |
| 6 #include "base/message_loop_proxy.h" | 6 #include "base/message_loop/message_loop_proxy.h" |
| 7 #include "base/synchronization/waitable_event.h" | 7 #include "base/synchronization/waitable_event.h" |
| 8 #include "base/threading/thread.h" | 8 #include "base/threading/thread.h" |
| 9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
| 10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
| 11 #include "ppapi/host/host_message_context.h" | 11 #include "ppapi/host/host_message_context.h" |
| 12 #include "ppapi/host/resource_host.h" | 12 #include "ppapi/host/resource_host.h" |
| 13 #include "ppapi/host/resource_message_filter.h" | 13 #include "ppapi/host/resource_message_filter.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 namespace ppapi { | 16 namespace ppapi { |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 EXPECT_EQ(host.last_handled_msg().type(), message3.type()); | 193 EXPECT_EQ(host.last_handled_msg().type(), message3.type()); |
| 194 EXPECT_EQ(host.last_reply_msg().type(), static_cast<uint32>(REPLY_MSG3_TYPE)); | 194 EXPECT_EQ(host.last_reply_msg().type(), static_cast<uint32>(REPLY_MSG3_TYPE)); |
| 195 | 195 |
| 196 io_thread.Stop(); | 196 io_thread.Stop(); |
| 197 bg_thread1.Stop(); | 197 bg_thread1.Stop(); |
| 198 bg_thread2.Stop(); | 198 bg_thread2.Stop(); |
| 199 } | 199 } |
| 200 | 200 |
| 201 } // namespace proxy | 201 } // namespace proxy |
| 202 } // namespace ppapi | 202 } // namespace ppapi |
| OLD | NEW |