Chromium Code Reviews| Index: ppapi/api/ppb_file_io.idl |
| diff --git a/ppapi/api/ppb_file_io.idl b/ppapi/api/ppb_file_io.idl |
| index f89ba171c10bd6c73749cab9f79e6d92b924555d..bd679a7cef0c137de59d45f1a3179c3f58d89f40 100644 |
| --- a/ppapi/api/ppb_file_io.idl |
| +++ b/ppapi/api/ppb_file_io.idl |
| @@ -12,7 +12,8 @@ |
| label Chrome { |
| M14 = 1.0, |
| - M25 = 1.1 |
| + M25 = 1.1, |
| + M29 = 1.2 |
| }; |
| /** |
| @@ -41,14 +42,22 @@ label Chrome { |
| * Requests that the file be truncated to length 0 if it exists and is a |
| * regular file. <code>PP_FILEOPENFLAG_WRITE</code> must also be specified. |
| */ |
| - PP_FILEOPENFLAG_TRUNCATE = 1 << 3, |
| + PP_FILEOPENFLAG_TRUNCATE = 1 << 3, |
| /** |
| * Requests that the file is created when this flag is combined with |
| * <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. |
|
yzshen1
2013/06/11 20:49:32
I think it is allowed to have [version=xx] label o
|
| + */ |
| + PP_FILEOPENFLAG_APPEND = 1 << 5 |
| }; |