| 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 "ppapi/proxy/ppapi_proxy_test.h" | 5 #include "ppapi/proxy/ppapi_proxy_test.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "ipc/ipc_sync_channel.h" | 10 #include "ipc/ipc_sync_channel.h" |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 | 205 |
| 206 uint32 PluginProxyTestHarness::PluginDelegateMock::Register( | 206 uint32 PluginProxyTestHarness::PluginDelegateMock::Register( |
| 207 PluginDispatcher* plugin_dispatcher) { | 207 PluginDispatcher* plugin_dispatcher) { |
| 208 return 0; | 208 return 0; |
| 209 } | 209 } |
| 210 | 210 |
| 211 void PluginProxyTestHarness::PluginDelegateMock::Unregister( | 211 void PluginProxyTestHarness::PluginDelegateMock::Unregister( |
| 212 uint32 plugin_dispatcher_id) { | 212 uint32 plugin_dispatcher_id) { |
| 213 } | 213 } |
| 214 | 214 |
| 215 ppapi::WebKitForwarding* | |
| 216 PluginProxyTestHarness::PluginDelegateMock::GetWebKitForwarding() { | |
| 217 NOTREACHED(); | |
| 218 return NULL; | |
| 219 } | |
| 220 | |
| 221 void PluginProxyTestHarness::PluginDelegateMock::PostToWebKitThread( | |
| 222 const tracked_objects::Location& from_here, const base::Closure& task) { | |
| 223 NOTREACHED(); | |
| 224 } | |
| 225 | |
| 226 bool PluginProxyTestHarness::PluginDelegateMock::SendToBrowser( | 215 bool PluginProxyTestHarness::PluginDelegateMock::SendToBrowser( |
| 227 IPC::Message* msg) { | 216 IPC::Message* msg) { |
| 228 NOTREACHED(); | 217 NOTREACHED(); |
| 229 return false; | 218 return false; |
| 230 } | 219 } |
| 231 | 220 |
| 232 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( | 221 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( |
| 233 const void* logfontw) { | 222 const void* logfontw) { |
| 234 } | 223 } |
| 235 | 224 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 remote_harness_torn_down.Wait(); | 369 remote_harness_torn_down.Wait(); |
| 381 | 370 |
| 382 local_harness_->TearDownHarness(); | 371 local_harness_->TearDownHarness(); |
| 383 | 372 |
| 384 io_thread_.Stop(); | 373 io_thread_.Stop(); |
| 385 } | 374 } |
| 386 | 375 |
| 387 | 376 |
| 388 } // namespace proxy | 377 } // namespace proxy |
| 389 } // namespace ppapi | 378 } // namespace ppapi |
| OLD | NEW |