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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 16282005: Introduce PPB_UDPSocket_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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/ppb_udp_socket_dev_thunk.cc ('k') | webkit/common/plugins/ppapi/ppapi_utils.cc » ('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 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 PP_Instance instance, 148 PP_Instance instance,
149 const PP_NetAddress_Private& private_addr) = 0; 149 const PP_NetAddress_Private& private_addr) = 0;
150 virtual PP_Resource CreateNetworkMonitor( 150 virtual PP_Resource CreateNetworkMonitor(
151 PP_Instance instance, 151 PP_Instance instance,
152 PPB_NetworkMonitor_Callback callback, 152 PPB_NetworkMonitor_Callback callback,
153 void* user_data) = 0; 153 void* user_data) = 0;
154 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; 154 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0;
155 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; 155 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0;
156 virtual PP_Resource CreateTCPSocket(PP_Instance instace) = 0; 156 virtual PP_Resource CreateTCPSocket(PP_Instance instace) = 0;
157 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 157 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
158 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0;
158 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 159 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
159 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; 160 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
160 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 161 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
161 #if !defined(OS_NACL) 162 #if !defined(OS_NACL)
162 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; 163 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0;
163 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 164 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
164 virtual PP_Resource CreateBrowserFont( 165 virtual PP_Resource CreateBrowserFont(
165 PP_Instance instance, 166 PP_Instance instance,
166 const PP_BrowserFont_Trusted_Description* description) = 0; 167 const PP_BrowserFont_Trusted_Description* description) = 0;
167 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 168 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
(...skipping 17 matching lines...) Expand all
185 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; 186 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0;
186 #endif // !defined(OS_NACL) 187 #endif // !defined(OS_NACL)
187 188
188 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 189 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
189 }; 190 };
190 191
191 } // namespace thunk 192 } // namespace thunk
192 } // namespace ppapi 193 } // namespace ppapi
193 194
194 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 195 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_udp_socket_dev_thunk.cc ('k') | webkit/common/plugins/ppapi/ppapi_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698