| 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 "content/renderer/pepper/resource_creation_impl.h" | 5 #include "content/renderer/pepper/resource_creation_impl.h" |
| 6 | 6 |
| 7 #include "content/renderer/pepper/common.h" | 7 #include "content/renderer/pepper/common.h" |
| 8 #include "content/renderer/pepper/ppb_audio_impl.h" | 8 #include "content/renderer/pepper/ppb_audio_impl.h" |
| 9 #include "content/renderer/pepper/ppb_broker_impl.h" | 9 #include "content/renderer/pepper/ppb_broker_impl.h" |
| 10 #include "content/renderer/pepper/ppb_buffer_impl.h" | 10 #include "content/renderer/pepper/ppb_buffer_impl.h" |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 PPB_ResourceArray_Shared* object = new PPB_ResourceArray_Shared( | 250 PPB_ResourceArray_Shared* object = new PPB_ResourceArray_Shared( |
| 251 ppapi::OBJECT_IS_IMPL, instance, elements, size); | 251 ppapi::OBJECT_IS_IMPL, instance, elements, size); |
| 252 return object->GetReference(); | 252 return object->GetReference(); |
| 253 } | 253 } |
| 254 | 254 |
| 255 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( | 255 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( |
| 256 PP_Instance instance) { | 256 PP_Instance instance) { |
| 257 return 0; // Not supported in-process. | 257 return 0; // Not supported in-process. |
| 258 } | 258 } |
| 259 | 259 |
| 260 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { | 260 PP_Resource ResourceCreationImpl::CreateTCPSocket1_0(PP_Instance instance) { |
| 261 return 0; // Not supported in-process. | 261 return 0; // Not supported in-process. |
| 262 } | 262 } |
| 263 | 263 |
| 264 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance, |
| 265 PP_NetAddress_Family family) { |
| 266 return 0; // Not supported in-process. |
| 267 } |
| 268 |
| 264 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { | 269 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { |
| 265 return 0; // Not supported in-process. | 270 return 0; // Not supported in-process. |
| 266 } | 271 } |
| 267 | 272 |
| 268 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { | 273 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { |
| 269 return 0; // Not supported in-process. | 274 return 0; // Not supported in-process. |
| 270 } | 275 } |
| 271 | 276 |
| 272 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { | 277 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { |
| 273 return 0; // Not supported in-process. | 278 return 0; // Not supported in-process. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, | 310 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, |
| 306 wheel_delta, wheel_ticks, scroll_by_page); | 311 wheel_delta, wheel_ticks, scroll_by_page); |
| 307 } | 312 } |
| 308 | 313 |
| 309 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 314 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 310 PP_Instance instance) { | 315 PP_Instance instance) { |
| 311 return 0; // Not supported in-process. | 316 return 0; // Not supported in-process. |
| 312 } | 317 } |
| 313 | 318 |
| 314 } // namespace content | 319 } // namespace content |
| OLD | NEW |