summaryrefslogtreecommitdiffstats
path: root/ppapi/api/pp_file_info.idl
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-13 02:43:33 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-13 02:43:33 +0000
commit03f54587d056d2c0812358fb9897b3c665ce12e0 (patch)
tree863553808fcc6e0a21ee8a744b0d4de66994d807 /ppapi/api/pp_file_info.idl
parent01fe08ad788807e609ef24c0e230f3cb0dff6409 (diff)
downloadchromium_src-03f54587d056d2c0812358fb9897b3c665ce12e0.zip
chromium_src-03f54587d056d2c0812358fb9897b3c665ce12e0.tar.gz
chromium_src-03f54587d056d2c0812358fb9897b3c665ce12e0.tar.bz2
Add values to all (non-dev, non-private) Pepper .idl enumerations.
This reduces the warnings when running the generator and makes the definitions more robust (or at least makes it more obvious when someone changes things). TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/8538038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/pp_file_info.idl')
-rw-r--r--ppapi/api/pp_file_info.idl12
1 files changed, 6 insertions, 6 deletions
diff --git a/ppapi/api/pp_file_info.idl b/ppapi/api/pp_file_info.idl
index d974044..dab34abc 100644
--- a/ppapi/api/pp_file_info.idl
+++ b/ppapi/api/pp_file_info.idl
@@ -13,11 +13,11 @@
[assert_size(4)]
enum PP_FileType {
/** A regular file type */
- PP_FILETYPE_REGULAR,
+ PP_FILETYPE_REGULAR = 0,
/** A directory */
- PP_FILETYPE_DIRECTORY,
+ PP_FILETYPE_DIRECTORY = 1,
/** A catch-all for unidentified types */
- PP_FILETYPE_OTHER
+ PP_FILETYPE_OTHER = 2
};
/**
@@ -28,11 +28,11 @@ enum PP_FileSystemType {
/** For identified invalid return values */
PP_FILESYSTEMTYPE_INVALID = 0,
/** For external file system types */
- PP_FILESYSTEMTYPE_EXTERNAL,
+ PP_FILESYSTEMTYPE_EXTERNAL = 1,
/** For local persistant file system types */
- PP_FILESYSTEMTYPE_LOCALPERSISTENT,
+ PP_FILESYSTEMTYPE_LOCALPERSISTENT = 2,
/** For local temporary file system types */
- PP_FILESYSTEMTYPE_LOCALTEMPORARY
+ PP_FILESYSTEMTYPE_LOCALTEMPORARY = 3
};
/**