| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 172 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
| 173 virtual PP_Resource CreateTCPSocket1_0(PP_Instance instace) = 0; | 173 virtual PP_Resource CreateTCPSocket1_0(PP_Instance instace) = 0; |
| 174 virtual PP_Resource CreateTCPSocket(PP_Instance instance) = 0; | 174 virtual PP_Resource CreateTCPSocket(PP_Instance instance) = 0; |
| 175 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 175 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
| 176 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; | 176 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; |
| 177 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 177 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 178 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; | 178 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; |
| 179 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; | 179 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; |
| 180 virtual PP_Resource CreateVideoEncoder(PP_Instance instance) = 0; | 180 virtual PP_Resource CreateVideoEncoder(PP_Instance instance) = 0; |
| 181 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; | 181 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; |
| 182 virtual PP_Resource CreateVpnProvider(PP_Instance instance) = 0; |
| 182 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 183 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
| 183 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 184 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 184 #if !defined(OS_NACL) | 185 #if !defined(OS_NACL) |
| 185 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; | 186 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; |
| 186 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; | 187 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; |
| 187 virtual PP_Resource CreateBrowserFont( | 188 virtual PP_Resource CreateBrowserFont( |
| 188 PP_Instance instance, | 189 PP_Instance instance, |
| 189 const PP_BrowserFont_Trusted_Description* description) = 0; | 190 const PP_BrowserFont_Trusted_Description* description) = 0; |
| 190 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; | 191 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; |
| 191 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; | 192 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 205 PP_VideoDecoder_Profile profile) = 0; | 206 PP_VideoDecoder_Profile profile) = 0; |
| 206 #endif // !defined(OS_NACL) | 207 #endif // !defined(OS_NACL) |
| 207 | 208 |
| 208 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 209 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 } // namespace thunk | 212 } // namespace thunk |
| 212 } // namespace ppapi | 213 } // namespace ppapi |
| 213 | 214 |
| 214 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 215 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |