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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 void PluginProxyTestHarness::PluginDelegateMock::Unregister( | 222 void PluginProxyTestHarness::PluginDelegateMock::Unregister( |
223 uint32 plugin_dispatcher_id) { | 223 uint32 plugin_dispatcher_id) { |
224 } | 224 } |
225 | 225 |
226 bool PluginProxyTestHarness::PluginDelegateMock::SendToBrowser( | 226 bool PluginProxyTestHarness::PluginDelegateMock::SendToBrowser( |
227 IPC::Message* msg) { | 227 IPC::Message* msg) { |
228 NOTREACHED(); | 228 NOTREACHED(); |
229 return false; | 229 return false; |
230 } | 230 } |
231 | 231 |
| 232 IPC::Sender* PluginProxyTestHarness::PluginDelegateMock::GetBrowserSender() { |
| 233 NOTREACHED(); |
| 234 return NULL; |
| 235 } |
| 236 |
232 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() { | 237 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() { |
233 return std::string("en-US"); | 238 return std::string("en-US"); |
234 } | 239 } |
235 | 240 |
236 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( | 241 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( |
237 const void* logfontw) { | 242 const void* logfontw) { |
238 } | 243 } |
239 | 244 |
240 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( | 245 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( |
241 const std::string& url) { | 246 const std::string& url) { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 &remote_harness_torn_down)); | 410 &remote_harness_torn_down)); |
406 remote_harness_torn_down.Wait(); | 411 remote_harness_torn_down.Wait(); |
407 | 412 |
408 local_harness_->TearDownHarness(); | 413 local_harness_->TearDownHarness(); |
409 | 414 |
410 io_thread_.Stop(); | 415 io_thread_.Stop(); |
411 } | 416 } |
412 | 417 |
413 } // namespace proxy | 418 } // namespace proxy |
414 } // namespace ppapi | 419 } // namespace ppapi |
OLD | NEW |