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

Side by Side Diff: ppapi/c/ppb_file_io.h

Issue 7292033: First pass at freezing stable pepper interfaces to 1.0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 5 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/c/ppb_audio_config.h ('k') | ppapi/c/ppb_file_ref.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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_C_PPB_FILE_IO_H_ 5 #ifndef PPAPI_C_PPB_FILE_IO_H_
6 #define PPAPI_C_PPB_FILE_IO_H_ 6 #define PPAPI_C_PPB_FILE_IO_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_macros.h" 10 #include "ppapi/c/pp_macros.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 * file already exists, then the FileIO::Open() call will fail. 57 * file already exists, then the FileIO::Open() call will fail.
58 */ 58 */
59 PP_FILEOPENFLAG_EXCLUSIVE = 1 << 4 59 PP_FILEOPENFLAG_EXCLUSIVE = 1 << 4
60 } PP_FileOpenFlags; 60 } PP_FileOpenFlags;
61 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileOpenFlags, 4); 61 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileOpenFlags, 4);
62 /** 62 /**
63 * @} 63 * @}
64 */ 64 */
65 65
66 #define PPB_FILEIO_INTERFACE_0_5 "PPB_FileIO;0.5" 66 #define PPB_FILEIO_INTERFACE_0_5 "PPB_FileIO;0.5"
67 #define PPB_FILEIO_INTERFACE PPB_FILEIO_INTERFACE_0_5 67 #define PPB_FILEIO_INTERFACE_1_0 "PPB_FileIO;1.0"
68 #define PPB_FILEIO_INTERFACE PPB_FILEIO_INTERFACE_1_0
68 69
69 /** 70 /**
70 * @addtogroup Interfaces 71 * @addtogroup Interfaces
71 * @{ 72 * @{
72 */ 73 */
73 /** 74 /**
74 * The <code>PPB_FileIO</code> struct is used to operate on a regular file 75 * The <code>PPB_FileIO</code> struct is used to operate on a regular file
75 * (PP_FileType_Regular). 76 * (PP_FileType_Regular).
76 */ 77 */
77 struct PPB_FileIO { 78 struct PPB_FileIO {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 * FileIO. 246 * FileIO.
246 */ 247 */
247 void (*Close)(PP_Resource file_io); 248 void (*Close)(PP_Resource file_io);
248 }; 249 };
249 /** 250 /**
250 * @} 251 * @}
251 */ 252 */
252 253
253 #endif /* PPAPI_C_PPB_FILE_IO_H_ */ 254 #endif /* PPAPI_C_PPB_FILE_IO_H_ */
254 255
OLDNEW
« no previous file with comments | « ppapi/c/ppb_audio_config.h ('k') | ppapi/c/ppb_file_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698