| 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(const GURL& url) { |
| 241 } |
| 242 |
| 240 // PluginProxyTest ------------------------------------------------------------- | 243 // PluginProxyTest ------------------------------------------------------------- |
| 241 | 244 |
| 242 PluginProxyTest::PluginProxyTest() { | 245 PluginProxyTest::PluginProxyTest() { |
| 243 } | 246 } |
| 244 | 247 |
| 245 PluginProxyTest::~PluginProxyTest() { | 248 PluginProxyTest::~PluginProxyTest() { |
| 246 } | 249 } |
| 247 | 250 |
| 248 void PluginProxyTest::SetUp() { | 251 void PluginProxyTest::SetUp() { |
| 249 SetUpHarness(); | 252 SetUpHarness(); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 remote_harness_torn_down.Wait(); | 405 remote_harness_torn_down.Wait(); |
| 403 | 406 |
| 404 local_harness_->TearDownHarness(); | 407 local_harness_->TearDownHarness(); |
| 405 | 408 |
| 406 io_thread_.Stop(); | 409 io_thread_.Stop(); |
| 407 } | 410 } |
| 408 | 411 |
| 409 | 412 |
| 410 } // namespace proxy | 413 } // namespace proxy |
| 411 } // namespace ppapi | 414 } // namespace ppapi |
| OLD | NEW |