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

Side by Side Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 7745005: Initial work for UDP Pepper API (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: readd names that I mistakenly removed from AUTHORS file Created 9 years, 2 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 | « ppapi/thunk/thunk.h ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "webkit/plugins/ppapi/plugin_module.h" 5 #include "webkit/plugins/ppapi/plugin_module.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "ppapi/c/ppb_url_request_info.h" 59 #include "ppapi/c/ppb_url_request_info.h"
60 #include "ppapi/c/ppb_url_response_info.h" 60 #include "ppapi/c/ppb_url_response_info.h"
61 #include "ppapi/c/ppb_var.h" 61 #include "ppapi/c/ppb_var.h"
62 #include "ppapi/c/ppp.h" 62 #include "ppapi/c/ppp.h"
63 #include "ppapi/c/ppp_instance.h" 63 #include "ppapi/c/ppp_instance.h"
64 #include "ppapi/c/private/ppb_flash.h" 64 #include "ppapi/c/private/ppb_flash.h"
65 #include "ppapi/c/private/ppb_flash_clipboard.h" 65 #include "ppapi/c/private/ppb_flash_clipboard.h"
66 #include "ppapi/c/private/ppb_flash_file.h" 66 #include "ppapi/c/private/ppb_flash_file.h"
67 #include "ppapi/c/private/ppb_flash_fullscreen.h" 67 #include "ppapi/c/private/ppb_flash_fullscreen.h"
68 #include "ppapi/c/private/ppb_flash_tcp_socket.h" 68 #include "ppapi/c/private/ppb_flash_tcp_socket.h"
69 #include "ppapi/c/private/ppb_flash_udp_socket.h"
69 #include "ppapi/c/private/ppb_gpu_blacklist_private.h" 70 #include "ppapi/c/private/ppb_gpu_blacklist_private.h"
70 #include "ppapi/c/private/ppb_instance_private.h" 71 #include "ppapi/c/private/ppb_instance_private.h"
71 #include "ppapi/c/private/ppb_pdf.h" 72 #include "ppapi/c/private/ppb_pdf.h"
72 #include "ppapi/c/private/ppb_proxy_private.h" 73 #include "ppapi/c/private/ppb_proxy_private.h"
73 #include "ppapi/c/private/ppb_uma_private.h" 74 #include "ppapi/c/private/ppb_uma_private.h"
74 #include "ppapi/c/trusted/ppb_audio_trusted.h" 75 #include "ppapi/c/trusted/ppb_audio_trusted.h"
75 #include "ppapi/c/trusted/ppb_broker_trusted.h" 76 #include "ppapi/c/trusted/ppb_broker_trusted.h"
76 #include "ppapi/c/trusted/ppb_buffer_trusted.h" 77 #include "ppapi/c/trusted/ppb_buffer_trusted.h"
77 #include "ppapi/c/trusted/ppb_file_io_trusted.h" 78 #include "ppapi/c/trusted/ppb_file_io_trusted.h"
78 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" 79 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE) == 0) 264 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE) == 0)
264 return PPB_Flash_Clipboard_Impl::GetInterface(); 265 return PPB_Flash_Clipboard_Impl::GetInterface();
265 if (strcmp(name, PPB_FLASH_FILE_FILEREF_INTERFACE) == 0) 266 if (strcmp(name, PPB_FLASH_FILE_FILEREF_INTERFACE) == 0)
266 return PPB_Flash_File_FileRef_Impl::GetInterface(); 267 return PPB_Flash_File_FileRef_Impl::GetInterface();
267 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0) 268 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0)
268 return PPB_Flash_File_ModuleLocal_Impl::GetInterface(); 269 return PPB_Flash_File_ModuleLocal_Impl::GetInterface();
269 if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0) 270 if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0)
270 return ::ppapi::thunk::GetPPB_Flash_Menu_Thunk(); 271 return ::ppapi::thunk::GetPPB_Flash_Menu_Thunk();
271 if (strcmp(name, PPB_FLASH_TCPSOCKET_INTERFACE) == 0) 272 if (strcmp(name, PPB_FLASH_TCPSOCKET_INTERFACE) == 0)
272 return ::ppapi::thunk::GetPPB_Flash_TCPSocket_Thunk(); 273 return ::ppapi::thunk::GetPPB_Flash_TCPSocket_Thunk();
274 if (strcmp(name, PPB_FLASH_UDPSOCKET_INTERFACE) == 0)
275 return ::ppapi::thunk::GetPPB_Flash_UDPSocket_Thunk();
273 if (strcmp(name, PPB_GPU_BLACKLIST_INTERFACE) == 0) 276 if (strcmp(name, PPB_GPU_BLACKLIST_INTERFACE) == 0)
274 return PPB_GpuBlacklist_Private_Impl::GetInterface(); 277 return PPB_GpuBlacklist_Private_Impl::GetInterface();
275 if (strcmp(name, PPB_GRAPHICS_3D_TRUSTED_INTERFACE) == 0) 278 if (strcmp(name, PPB_GRAPHICS_3D_TRUSTED_INTERFACE) == 0)
276 return ::ppapi::thunk::GetPPB_Graphics3DTrusted_Thunk(); 279 return ::ppapi::thunk::GetPPB_Graphics3DTrusted_Thunk();
277 if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE) == 0) 280 if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE) == 0)
278 return ::ppapi::thunk::GetPPB_ImageDataTrusted_Thunk(); 281 return ::ppapi::thunk::GetPPB_ImageDataTrusted_Thunk();
279 if (strcmp(name, PPB_INPUT_EVENT_INTERFACE_1_0) == 0) 282 if (strcmp(name, PPB_INPUT_EVENT_INTERFACE_1_0) == 0)
280 return ::ppapi::thunk::GetPPB_InputEvent_Thunk(); 283 return ::ppapi::thunk::GetPPB_InputEvent_Thunk();
281 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0) 284 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0)
282 return ::ppapi::thunk::GetPPB_Instance_Private_Thunk(); 285 return ::ppapi::thunk::GetPPB_Instance_Private_Thunk();
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 int retval = entry_points.initialize_module(pp_module(), &GetInterface); 534 int retval = entry_points.initialize_module(pp_module(), &GetInterface);
532 if (retval != 0) { 535 if (retval != 0) {
533 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 536 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
534 return false; 537 return false;
535 } 538 }
536 return true; 539 return true;
537 } 540 }
538 541
539 } // namespace ppapi 542 } // namespace ppapi
540 } // namespace webkit 543 } // namespace webkit
OLDNEW
« no previous file with comments | « ppapi/thunk/thunk.h ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698