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

Side by Side Diff: ppapi/c/private/pp_file_handle.h

Issue 10815080: Add an interface for nacl to create delete-on-close temp files, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert buildbot hack Created 8 years, 4 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
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 5
6 /* From private/pp_file_handle.idl modified Thu Jul 26 10:46:37 2012. */ 6 /* From private/pp_file_handle.idl modified Fri Jul 27 17:01:41 2012. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_ 8 #ifndef PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_
9 #define PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_ 9 #define PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_
10 10
11 #include "ppapi/c/pp_macros.h" 11 #include "ppapi/c/pp_macros.h"
12 12
13 /** 13 /**
14 * @file 14 * @file
15 * This file provides support for native OS file handles. 15 * This file provides support for native OS file handles.
16 */ 16 */
17 17
18 18
19 19
20 #ifdef _WIN32 20 #ifdef _WIN32
21 #include<windows.h> 21 #include<windows.h>
22 typedef HANDLE PP_FileHandle; 22 typedef HANDLE PP_FileHandle;
23 static const PP_FileHandle PP_kInvalidFileHandle = NULL; 23 static const PP_FileHandle PP_kInvalidFileHandle = NULL;
24 24
25 #else 25 #else
26 typedef int PP_FileHandle; 26 typedef int PP_FileHandle;
27 static const PP_FileHandle PP_kInvalidFileHandle = -1; 27 static const PP_FileHandle PP_kInvalidFileHandle = -1;
28 #endif 28 #endif
29 29
30 #endif /* PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_ */ 30 #endif /* PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_ */
31 31
OLDNEW
« no previous file with comments | « ppapi/api/private/finish_writing_these/ppb_nacl_private.idl ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698