| Index: ppapi/c/ppb_file_io.h
|
| ===================================================================
|
| --- ppapi/c/ppb_file_io.h (revision 89748)
|
| +++ ppapi/c/ppb_file_io.h (working copy)
|
| @@ -1,9 +1,9 @@
|
| -/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| * Use of this source code is governed by a BSD-style license that can be
|
| * found in the LICENSE file.
|
| */
|
| -#ifndef PPAPI_C_DEV_PPB_FILE_IO_DEV_H_
|
| -#define PPAPI_C_DEV_PPB_FILE_IO_DEV_H_
|
| +#ifndef PPAPI_C_PPB_FILE_IO_H_
|
| +#define PPAPI_C_PPB_FILE_IO_H_
|
|
|
| #include "ppapi/c/pp_bool.h"
|
| #include "ppapi/c/pp_instance.h"
|
| @@ -13,7 +13,7 @@
|
| #include "ppapi/c/pp_time.h"
|
|
|
| struct PP_CompletionCallback;
|
| -struct PP_FileInfo_Dev;
|
| +struct PP_FileInfo;
|
|
|
| typedef enum {
|
| // Requests read access to a file.
|
| @@ -36,14 +36,14 @@
|
| // PP_FILEOPENFLAG_CREATE. If this flag is specified, and the file already
|
| // exists, then the FileIO::Open call will fail.
|
| PP_FILEOPENFLAG_EXCLUSIVE = 1 << 4
|
| -} PP_FileOpenFlags_Dev;
|
| -PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileOpenFlags_Dev, 4);
|
| +} PP_FileOpenFlags;
|
| +PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileOpenFlags, 4);
|
|
|
| -#define PPB_FILEIO_DEV_INTERFACE_0_3 "PPB_FileIO(Dev);0.3"
|
| -#define PPB_FILEIO_DEV_INTERFACE PPB_FILEIO_DEV_INTERFACE_0_3
|
| +#define PPB_FILEIO_INTERFACE_0_4 "PPB_FileIO;0.4"
|
| +#define PPB_FILEIO_INTERFACE PPB_FILEIO_INTERFACE_0_4
|
|
|
| // Use this interface to operate on a regular file (PP_FileType_Regular).
|
| -struct PPB_FileIO_Dev {
|
| +struct PPB_FileIO {
|
| // Creates a new FileIO object. Returns 0 if the module is invalid.
|
| PP_Resource (*Create)(PP_Instance instance);
|
|
|
| @@ -63,7 +63,7 @@
|
| // Queries info about the file opened by this FileIO object. Fails if the
|
| // FileIO object has not been opened.
|
| int32_t (*Query)(PP_Resource file_io,
|
| - struct PP_FileInfo_Dev* info,
|
| + struct PP_FileInfo* info,
|
| struct PP_CompletionCallback callback);
|
|
|
| // Updates timestamps for the file opened by this FileIO object. Fails if
|
| @@ -116,5 +116,4 @@
|
| void (*Close)(PP_Resource file_io);
|
| };
|
|
|
| -#endif /* PPAPI_C_DEV_PPB_FILE_IO_DEV_H_ */
|
| -
|
| +#endif /* PPAPI_C_PPB_FILE_IO_H_ */
|
|
|