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

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
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | ppapi/api/ppb_tcp_socket.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « content/renderer/pepper/resource_creation_impl.h ('k') | ppapi/api/ppb_tcp_socket.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698