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

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

Issue 22923014: TCPSockets are switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. 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/ppb_tcp_socket_private_impl.cc ('k') | ppapi/ppapi_proxy.gypi » ('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"
11 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" 11 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h"
12 #include "content/renderer/pepper/ppb_graphics_3d_impl.h" 12 #include "content/renderer/pepper/ppb_graphics_3d_impl.h"
13 #include "content/renderer/pepper/ppb_image_data_impl.h" 13 #include "content/renderer/pepper/ppb_image_data_impl.h"
14 #include "content/renderer/pepper/ppb_network_monitor_private_impl.h" 14 #include "content/renderer/pepper/ppb_network_monitor_private_impl.h"
15 #include "content/renderer/pepper/ppb_scrollbar_impl.h" 15 #include "content/renderer/pepper/ppb_scrollbar_impl.h"
16 #include "content/renderer/pepper/ppb_tcp_socket_private_impl.h"
17 #include "content/renderer/pepper/ppb_video_decoder_impl.h" 16 #include "content/renderer/pepper/ppb_video_decoder_impl.h"
18 #include "content/renderer/pepper/ppb_x509_certificate_private_impl.h" 17 #include "content/renderer/pepper/ppb_x509_certificate_private_impl.h"
19 #include "ppapi/c/pp_size.h" 18 #include "ppapi/c/pp_size.h"
20 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 19 #include "ppapi/shared_impl/ppb_audio_config_shared.h"
21 #include "ppapi/shared_impl/ppb_image_data_shared.h" 20 #include "ppapi/shared_impl/ppb_image_data_shared.h"
22 #include "ppapi/shared_impl/ppb_input_event_shared.h" 21 #include "ppapi/shared_impl/ppb_input_event_shared.h"
23 #include "ppapi/shared_impl/ppb_resource_array_shared.h" 22 #include "ppapi/shared_impl/ppb_resource_array_shared.h"
24 #include "ppapi/shared_impl/var.h" 23 #include "ppapi/shared_impl/var.h"
25 24
26 using ppapi::InputEventData; 25 using ppapi::InputEventData;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate( 230 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate(
232 PP_Instance instance) { 231 PP_Instance instance) {
233 return 0; // Not supported in-process. 232 return 0; // Not supported in-process.
234 } 233 }
235 234
236 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) { 235 PP_Resource ResourceCreationImpl::CreateTCPSocket(PP_Instance instance) {
237 return 0; // Not supported in-process. 236 return 0; // Not supported in-process.
238 } 237 }
239 238
240 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) { 239 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) {
241 return PPB_TCPSocket_Private_Impl::CreateResource(instance); 240 return 0; // Not supported in-process.
242 } 241 }
243 242
244 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) { 243 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) {
245 return 0; // Not supported in-process. 244 return 0; // Not supported in-process.
246 } 245 }
247 246
248 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) { 247 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) {
249 return 0; // Not supported in-process. 248 return 0; // Not supported in-process.
250 } 249 }
251 250
(...skipping 29 matching lines...) Expand all
281 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, 280 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers,
282 wheel_delta, wheel_ticks, scroll_by_page); 281 wheel_delta, wheel_ticks, scroll_by_page);
283 } 282 }
284 283
285 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 284 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
286 PP_Instance instance) { 285 PP_Instance instance) {
287 return PPB_X509Certificate_Private_Impl::CreateResource(instance); 286 return PPB_X509Certificate_Private_Impl::CreateResource(instance);
288 } 287 }
289 288
290 } // namespace content 289 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_tcp_socket_private_impl.cc ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698