| 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/resource_creation_proxy.h" | 5 #include "ppapi/proxy/resource_creation_proxy.h" |
| 6 | 6 |
| 7 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
| 8 #include "ppapi/c/pp_size.h" | 8 #include "ppapi/c/pp_size.h" |
| 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
| 10 #include "ppapi/proxy/plugin_dispatcher.h" | 10 #include "ppapi/proxy/plugin_dispatcher.h" |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 PP_Resource ResourceCreationProxy::CreateTCPServerSocketPrivate( | 289 PP_Resource ResourceCreationProxy::CreateTCPServerSocketPrivate( |
| 290 PP_Instance instance) { | 290 PP_Instance instance) { |
| 291 return PPB_TCPServerSocket_Private_Proxy::CreateProxyResource(instance); | 291 return PPB_TCPServerSocket_Private_Proxy::CreateProxyResource(instance); |
| 292 } | 292 } |
| 293 | 293 |
| 294 PP_Resource ResourceCreationProxy::CreateTCPSocketPrivate( | 294 PP_Resource ResourceCreationProxy::CreateTCPSocketPrivate( |
| 295 PP_Instance instance) { | 295 PP_Instance instance) { |
| 296 return PPB_TCPSocket_Private_Proxy::CreateProxyResource(instance); | 296 return PPB_TCPSocket_Private_Proxy::CreateProxyResource(instance); |
| 297 } | 297 } |
| 298 | 298 |
| 299 PP_Resource ResourceCreationProxy::CreateTransport(PP_Instance instance, | |
| 300 const char* name, | |
| 301 PP_TransportType type) { | |
| 302 NOTIMPLEMENTED(); // Not proxied yet. | |
| 303 return 0; | |
| 304 } | |
| 305 | |
| 306 PP_Resource ResourceCreationProxy::CreateUDPSocketPrivate( | 299 PP_Resource ResourceCreationProxy::CreateUDPSocketPrivate( |
| 307 PP_Instance instance) { | 300 PP_Instance instance) { |
| 308 return PPB_UDPSocket_Private_Proxy::CreateProxyResource(instance); | 301 return PPB_UDPSocket_Private_Proxy::CreateProxyResource(instance); |
| 309 } | 302 } |
| 310 | 303 |
| 311 PP_Resource ResourceCreationProxy::CreateVideoCapture(PP_Instance instance) { | 304 PP_Resource ResourceCreationProxy::CreateVideoCapture(PP_Instance instance) { |
| 312 return PPB_VideoCapture_Proxy::CreateProxyResource(instance); | 305 return PPB_VideoCapture_Proxy::CreateProxyResource(instance); |
| 313 } | 306 } |
| 314 | 307 |
| 315 PP_Resource ResourceCreationProxy::CreateVideoDecoder( | 308 PP_Resource ResourceCreationProxy::CreateVideoDecoder( |
| (...skipping 26 matching lines...) Expand all Loading... |
| 342 bool ResourceCreationProxy::Send(IPC::Message* msg) { | 335 bool ResourceCreationProxy::Send(IPC::Message* msg) { |
| 343 return dispatcher()->Send(msg); | 336 return dispatcher()->Send(msg); |
| 344 } | 337 } |
| 345 | 338 |
| 346 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { | 339 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { |
| 347 return false; | 340 return false; |
| 348 } | 341 } |
| 349 | 342 |
| 350 } // namespace proxy | 343 } // namespace proxy |
| 351 } // namespace ppapi | 344 } // namespace ppapi |
| OLD | NEW |