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

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: 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..5b09aa8ef4b3315dfd9e88a4502210ad39f6de09 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 12:14:29 2013. */
#ifndef PPAPI_C_PPB_FILE_IO_H_
#define PPAPI_C_PPB_FILE_IO_H_
@@ -60,7 +60,12 @@ 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>.
+ */
+ 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