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

Unified Diff: ppapi/c/ppb_file_io.h

Issue 16765005: Pepper: Add append support to FileIO. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add version annotation to IDL. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/ppb_file_io.h
diff --git a/ppapi/c/ppb_file_io.h b/ppapi/c/ppb_file_io.h
index da3747ab8e9af8a2440692a0d48f1854984b283a..41936dfda4d523a310e5d869d83da6833fcc3d36 100644
--- a/ppapi/c/ppb_file_io.h
+++ b/ppapi/c/ppb_file_io.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_file_io.idl modified Fri Nov 16 10:46:53 2012. */
+/* From ppb_file_io.idl modified Tue Jun 11 14:18:40 2013. */
#ifndef PPAPI_C_PPB_FILE_IO_H_
#define PPAPI_C_PPB_FILE_IO_H_
@@ -60,7 +60,14 @@ typedef enum {
* <code>PP_FILEOPENFLAG_CREATE</code>. If this flag is specified, and the
* file already exists, then the FileIO::Open() call will fail.
*/
- PP_FILEOPENFLAG_EXCLUSIVE = 1 << 4
+ PP_FILEOPENFLAG_EXCLUSIVE = 1 << 4,
+ /**
+ * Requests write access to a file, but writes will always occur at the end of
+ * the file. Mututally exclusive with <code>PP_FILEOPENFLAG_WRITE</code>.
+ *
+ * This is only supported in version 1.2 (M29) and later.
+ */
+ PP_FILEOPENFLAG_APPEND = 1 << 5
} PP_FileOpenFlags;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileOpenFlags, 4);
/**

Powered by Google App Engine
This is Rietveld 408576698