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

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: Comment: M29 -> Chrome 29. 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
« no previous file with comments | « ppapi/api/ppb_file_io.idl ('k') | ppapi/shared_impl/file_type_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fe0e1bd4bba47ad62c899bb84994b188ac03b9de 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 15:21:38 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 (Chrome 29) and later.
+ */
+ PP_FILEOPENFLAG_APPEND = 1 << 5
} PP_FileOpenFlags;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileOpenFlags, 4);
/**
« no previous file with comments | « ppapi/api/ppb_file_io.idl ('k') | ppapi/shared_impl/file_type_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698