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 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() { |
| 233 return std::string("en-US"); |
| 234 } |
| 235 |
232 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( | 236 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( |
233 const void* logfontw) { | 237 const void* logfontw) { |
234 } | 238 } |
235 | 239 |
236 // PluginProxyTest ------------------------------------------------------------- | 240 // PluginProxyTest ------------------------------------------------------------- |
237 | 241 |
238 PluginProxyTest::PluginProxyTest() { | 242 PluginProxyTest::PluginProxyTest() { |
239 } | 243 } |
240 | 244 |
241 PluginProxyTest::~PluginProxyTest() { | 245 PluginProxyTest::~PluginProxyTest() { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 remote_harness_torn_down.Wait(); | 402 remote_harness_torn_down.Wait(); |
399 | 403 |
400 local_harness_->TearDownHarness(); | 404 local_harness_->TearDownHarness(); |
401 | 405 |
402 io_thread_.Stop(); | 406 io_thread_.Stop(); |
403 } | 407 } |
404 | 408 |
405 | 409 |
406 } // namespace proxy | 410 } // namespace proxy |
407 } // namespace ppapi | 411 } // namespace ppapi |
OLD | NEW |