| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 } | 230 } |
| 231 | 231 |
| 232 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() { | 232 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() { |
| 233 return std::string("en-US"); | 233 return std::string("en-US"); |
| 234 } | 234 } |
| 235 | 235 |
| 236 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( | 236 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( |
| 237 const void* logfontw) { | 237 const void* logfontw) { |
| 238 } | 238 } |
| 239 | 239 |
| 240 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( |
| 241 const std::string& url) { |
| 242 } |
| 243 |
| 240 // PluginProxyTest ------------------------------------------------------------- | 244 // PluginProxyTest ------------------------------------------------------------- |
| 241 | 245 |
| 242 PluginProxyTest::PluginProxyTest() { | 246 PluginProxyTest::PluginProxyTest() { |
| 243 } | 247 } |
| 244 | 248 |
| 245 PluginProxyTest::~PluginProxyTest() { | 249 PluginProxyTest::~PluginProxyTest() { |
| 246 } | 250 } |
| 247 | 251 |
| 248 void PluginProxyTest::SetUp() { | 252 void PluginProxyTest::SetUp() { |
| 249 SetUpHarness(); | 253 SetUpHarness(); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 remote_harness_torn_down.Wait(); | 406 remote_harness_torn_down.Wait(); |
| 403 | 407 |
| 404 local_harness_->TearDownHarness(); | 408 local_harness_->TearDownHarness(); |
| 405 | 409 |
| 406 io_thread_.Stop(); | 410 io_thread_.Stop(); |
| 407 } | 411 } |
| 408 | 412 |
| 409 | 413 |
| 410 } // namespace proxy | 414 } // namespace proxy |
| 411 } // namespace ppapi | 415 } // namespace ppapi |
| OLD | NEW |