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 int32_t |
| 233 PluginProxyTestHarness::PluginDelegateMock::SendOpenFileRequestToBrowser( |
| 234 const char* path, int32_t mode, PP_FileHandle* file) { |
| 235 return 0; |
| 236 } |
| 237 |
| 238 int32_t |
| 239 PluginProxyTestHarness::PluginDelegateMock::SendRenameFileRequestToBrowser( |
| 240 const char* from_path, const char* to_path) { |
| 241 return 0; |
| 242 } |
| 243 |
| 244 int32_t |
| 245 PluginProxyTestHarness::PluginDelegateMock::SendDeleteFileOrDirRequestToBrowser( |
| 246 const char* path, PP_Bool recursive) { |
| 247 return 0; |
| 248 } |
| 249 |
| 250 int32_t |
| 251 PluginProxyTestHarness::PluginDelegateMock::SendCreateDirRequestToBrowser( |
| 252 const char* path) { |
| 253 return 0; |
| 254 } |
| 255 |
| 256 int32_t |
| 257 PluginProxyTestHarness::PluginDelegateMock::SendQueryFileRequestToBrowser( |
| 258 const char* path, PP_FileInfo* info) { |
| 259 return 0; |
| 260 } |
| 261 |
| 262 int32_t |
| 263 PluginProxyTestHarness::PluginDelegateMock::SendGetDirContentsRequestToBrowser( |
| 264 const char* path, PP_DirContents_Dev** contents) { |
| 265 return 0; |
| 266 } |
| 267 |
| 268 |
232 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( | 269 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( |
233 const void* logfontw) { | 270 const void* logfontw) { |
234 } | 271 } |
235 | 272 |
236 // PluginProxyTest ------------------------------------------------------------- | 273 // PluginProxyTest ------------------------------------------------------------- |
237 | 274 |
238 PluginProxyTest::PluginProxyTest() { | 275 PluginProxyTest::PluginProxyTest() { |
239 } | 276 } |
240 | 277 |
241 PluginProxyTest::~PluginProxyTest() { | 278 PluginProxyTest::~PluginProxyTest() { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 remote_harness_torn_down.Wait(); | 435 remote_harness_torn_down.Wait(); |
399 | 436 |
400 local_harness_->TearDownHarness(); | 437 local_harness_->TearDownHarness(); |
401 | 438 |
402 io_thread_.Stop(); | 439 io_thread_.Stop(); |
403 } | 440 } |
404 | 441 |
405 | 442 |
406 } // namespace proxy | 443 } // namespace proxy |
407 } // namespace ppapi | 444 } // namespace ppapi |
OLD | NEW |