| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ppapi/proxy/ppapi_proxy_test.h" | 5 #include "ppapi/proxy/ppapi_proxy_test.h" |
| 6 | 6 |
| 7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
| 8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "ipc/ipc_sync_channel.h" | 9 #include "ipc/ipc_sync_channel.h" |
| 10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 } | 217 } |
| 218 | 218 |
| 219 uint32 PluginProxyTestHarness::PluginDelegateMock::Register( | 219 uint32 PluginProxyTestHarness::PluginDelegateMock::Register( |
| 220 PluginDispatcher* plugin_dispatcher) { | 220 PluginDispatcher* plugin_dispatcher) { |
| 221 return 0; | 221 return 0; |
| 222 } | 222 } |
| 223 | 223 |
| 224 void PluginProxyTestHarness::PluginDelegateMock::Unregister( | 224 void PluginProxyTestHarness::PluginDelegateMock::Unregister( |
| 225 uint32 plugin_dispatcher_id) { | 225 uint32 plugin_dispatcher_id) { |
| 226 } | 226 } |
| 227 |
| 227 // PluginProxyTest ------------------------------------------------------------- | 228 // PluginProxyTest ------------------------------------------------------------- |
| 228 | 229 |
| 229 PluginProxyTest::PluginProxyTest() { | 230 PluginProxyTest::PluginProxyTest() { |
| 230 } | 231 } |
| 231 | 232 |
| 232 PluginProxyTest::~PluginProxyTest() { | 233 PluginProxyTest::~PluginProxyTest() { |
| 233 } | 234 } |
| 234 | 235 |
| 235 void PluginProxyTest::SetUp() { | 236 void PluginProxyTest::SetUp() { |
| 236 SetUpHarness(); | 237 SetUpHarness(); |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 remote_harness_torn_down.Wait(); | 367 remote_harness_torn_down.Wait(); |
| 367 | 368 |
| 368 local_harness_->TearDownHarness(); | 369 local_harness_->TearDownHarness(); |
| 369 | 370 |
| 370 io_thread_.Stop(); | 371 io_thread_.Stop(); |
| 371 } | 372 } |
| 372 | 373 |
| 373 | 374 |
| 374 } // namespace proxy | 375 } // namespace proxy |
| 375 } // namespace pp | 376 } // namespace pp |
| OLD | NEW |