| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 PPB_ResourceArray_Shared* object = new PPB_ResourceArray_Shared( | 238 PPB_ResourceArray_Shared* object = new PPB_ResourceArray_Shared( |
| 239 ppapi::OBJECT_IS_IMPL, instance, elements, size); | 239 ppapi::OBJECT_IS_IMPL, instance, elements, size); |
| 240 return object->GetReference(); | 240 return object->GetReference(); |
| 241 } | 241 } |
| 242 | 242 |
| 243 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( | 243 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( |
| 244 PP_Instance instance) { | 244 PP_Instance instance) { |
| 245 return 0; // Not supported in-process. | 245 return 0; // Not supported in-process. |
| 246 } | 246 } |
| 247 | 247 |
| 248 PP_Resource ResourceCreationImpl::CreateTCPSocket1_0(PP_Instance instance) { |
| 249 return 0; // Not supported in-process. |
| 250 } |
| 251 |
| 248 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { | 252 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { |
| 249 return 0; // Not supported in-process. | 253 return 0; // Not supported in-process. |
| 250 } | 254 } |
| 251 | 255 |
| 252 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { | 256 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { |
| 253 return 0; // Not supported in-process. | 257 return 0; // Not supported in-process. |
| 254 } | 258 } |
| 255 | 259 |
| 256 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { | 260 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { |
| 257 return 0; // Not supported in-process. | 261 return 0; // Not supported in-process. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, | 297 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, |
| 294 wheel_delta, wheel_ticks, scroll_by_page); | 298 wheel_delta, wheel_ticks, scroll_by_page); |
| 295 } | 299 } |
| 296 | 300 |
| 297 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 301 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
| 298 PP_Instance instance) { | 302 PP_Instance instance) { |
| 299 return 0; // Not supported in-process. | 303 return 0; // Not supported in-process. |
| 300 } | 304 } |
| 301 | 305 |
| 302 } // namespace content | 306 } // namespace content |
| OLD | NEW |