OLD | NEW |
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 PP_Bool init_to_zero) = 0; | 134 PP_Bool init_to_zero) = 0; |
135 virtual PP_Resource CreateNetAddressFromIPv4Address( | 135 virtual PP_Resource CreateNetAddressFromIPv4Address( |
136 PP_Instance instance, | 136 PP_Instance instance, |
137 const PP_NetAddress_IPv4* ipv4_addr) = 0; | 137 const PP_NetAddress_IPv4* ipv4_addr) = 0; |
138 virtual PP_Resource CreateNetAddressFromIPv6Address( | 138 virtual PP_Resource CreateNetAddressFromIPv6Address( |
139 PP_Instance instance, | 139 PP_Instance instance, |
140 const PP_NetAddress_IPv6* ipv6_addr) = 0; | 140 const PP_NetAddress_IPv6* ipv6_addr) = 0; |
141 virtual PP_Resource CreateNetAddressFromNetAddressPrivate( | 141 virtual PP_Resource CreateNetAddressFromNetAddressPrivate( |
142 PP_Instance instance, | 142 PP_Instance instance, |
143 const PP_NetAddress_Private& private_addr) = 0; | 143 const PP_NetAddress_Private& private_addr) = 0; |
144 virtual PP_Resource CreateNetworkMonitor( | 144 virtual PP_Resource CreateNetworkMonitorPrivate(PP_Instance instance) = 0; |
145 PP_Instance instance, | |
146 PPB_NetworkMonitor_Callback callback, | |
147 void* user_data) = 0; | |
148 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; | 145 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; |
149 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 146 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
150 virtual PP_Resource CreateTCPSocket(PP_Instance instace) = 0; | 147 virtual PP_Resource CreateTCPSocket(PP_Instance instace) = 0; |
151 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 148 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
152 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; | 149 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; |
153 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 150 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
154 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; | 151 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; |
155 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; | 152 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; |
156 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 153 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
157 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 154 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
(...skipping 22 matching lines...) Expand all Loading... |
180 PP_VideoDecoder_Profile profile) = 0; | 177 PP_VideoDecoder_Profile profile) = 0; |
181 #endif // !defined(OS_NACL) | 178 #endif // !defined(OS_NACL) |
182 | 179 |
183 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 180 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
184 }; | 181 }; |
185 | 182 |
186 } // namespace thunk | 183 } // namespace thunk |
187 } // namespace ppapi | 184 } // namespace ppapi |
188 | 185 |
189 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 186 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |