Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: content/renderer/pepper/resource_creation_impl.cc

Issue 24195004: PPB_TCPSocket: add support for TCP server socket operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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::CreateTCPSocket1_0(PP_Instance instance) {
261 return 0; // Not supported in-process.
262 }
263
260 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { 264 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) {
261 return 0; // Not supported in-process. 265 return 0; // Not supported in-process.
262 } 266 }
263 267
264 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { 268 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) {
265 return 0; // Not supported in-process. 269 return 0; // Not supported in-process.
266 } 270 }
267 271
268 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { 272 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) {
269 return 0; // Not supported in-process. 273 return 0; // Not supported in-process.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, 309 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers,
306 wheel_delta, wheel_ticks, scroll_by_page); 310 wheel_delta, wheel_ticks, scroll_by_page);
307 } 311 }
308 312
309 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 313 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
310 PP_Instance instance) { 314 PP_Instance instance) {
311 return 0; // Not supported in-process. 315 return 0; // Not supported in-process.
312 } 316 }
313 317
314 } // namespace content 318 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698