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

Unified Diff: ppapi/c/dev/ppb_directory_reader_dev.h

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/c/dev/ppb_cursor_control_dev.h ('k') | ppapi/c/dev/ppb_file_chooser_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_directory_reader_dev.h
===================================================================
--- ppapi/c/dev/ppb_directory_reader_dev.h (revision 65116)
+++ ppapi/c/dev/ppb_directory_reader_dev.h (working copy)
@@ -5,6 +5,7 @@
#ifndef PPAPI_C_DEV_PPB_DIRECTORY_READER_DEV_H_
#define PPAPI_C_DEV_PPB_DIRECTORY_READER_DEV_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/dev/pp_file_info_dev.h"
#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_resource.h"
@@ -16,7 +17,7 @@
PP_FileType_Dev file_type;
};
-#define PPB_DIRECTORYREADER_DEV_INTERFACE "PPB_DirectoryReader(Dev);0.1"
+#define PPB_DIRECTORYREADER_DEV_INTERFACE "PPB_DirectoryReader(Dev);0.2"
struct PPB_DirectoryReader_Dev {
// Creates a DirectoryReader for the given directory. Upon success, the
@@ -25,9 +26,10 @@
// destroyed.
PP_Resource (*Create)(PP_Resource directory_ref);
- // Returns true if the given resource is a DirectoryReader. Returns false if
- // the resource is invalid or some type other than a DirectoryReader.
- bool (*IsDirectoryReader)(PP_Resource resource);
+ // Returns PP_TRUE if the given resource is a DirectoryReader. Returns
+ // PP_FALSE if the resource is invalid or some type other than a
+ // DirectoryReader.
+ PP_Bool (*IsDirectoryReader)(PP_Resource resource);
// Reads the next entry in the directory. Return PP_OK and sets
// entry->file_ref to 0 to indicate reaching the end of the directory. If
« no previous file with comments | « ppapi/c/dev/ppb_cursor_control_dev.h ('k') | ppapi/c/dev/ppb_file_chooser_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698