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

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

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Various cleanups Created 5 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
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 "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "ppapi/c/dev/pp_video_dev.h" 9 #include "ppapi/c/dev/pp_video_dev.h"
10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 10 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual PP_Resource CreateTCPSocket(PP_Instance instance) = 0; 169 virtual PP_Resource CreateTCPSocket(PP_Instance instance) = 0;
170 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 170 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
171 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; 171 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0;
172 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 172 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
173 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; 173 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0;
174 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; 174 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0;
175 virtual PP_Resource CreateVideoEncoder(PP_Instance instance) = 0; 175 virtual PP_Resource CreateVideoEncoder(PP_Instance instance) = 0;
176 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; 176 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0;
177 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; 177 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
178 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 178 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
179 virtual PP_Resource CreateFilesystemProvider(PP_Instance instance) = 0;
179 #if !defined(OS_NACL) 180 #if !defined(OS_NACL)
180 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; 181 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0;
181 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 182 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
182 virtual PP_Resource CreateBrowserFont( 183 virtual PP_Resource CreateBrowserFont(
183 PP_Instance instance, 184 PP_Instance instance,
184 const PP_BrowserFont_Trusted_Description* description) = 0; 185 const PP_BrowserFont_Trusted_Description* description) = 0;
185 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 186 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
186 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; 187 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0;
187 virtual PP_Resource CreateFlashFontFile( 188 virtual PP_Resource CreateFlashFontFile(
188 PP_Instance instance, 189 PP_Instance instance,
(...skipping 13 matching lines...) Expand all
202 PP_VideoDecoder_Profile profile) = 0; 203 PP_VideoDecoder_Profile profile) = 0;
203 #endif // !defined(OS_NACL) 204 #endif // !defined(OS_NACL)
204 205
205 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 206 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
206 }; 207 };
207 208
208 } // namespace thunk 209 } // namespace thunk
209 } // namespace ppapi 210 } // namespace ppapi
210 211
211 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 212 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« ppapi/api/dev/ppb_filesystemprovider_dev.idl ('K') | « ppapi/thunk/ppb_filesystem_provider_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698