diff options
author | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 07:52:15 +0000 |
---|---|---|
committer | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 07:52:15 +0000 |
commit | 8c7d3636e8576ca7f8f0c4c54b1b6f0151a459f0 (patch) | |
tree | b9d9ed88f72bfc4afc6fb61911c4823954cdacc3 /ppapi/c/pp_errors.h | |
parent | 46ad70fab9315177e2362a76fb98816434773dad (diff) | |
download | chromium_src-8c7d3636e8576ca7f8f0c4c54b1b6f0151a459f0.zip chromium_src-8c7d3636e8576ca7f8f0c4c54b1b6f0151a459f0.tar.gz chromium_src-8c7d3636e8576ca7f8f0c4c54b1b6f0151a459f0.tar.bz2 |
PPAPI: modify FileIO.Open to return PP_ERROR_NOTAFILE when opening a directory
BUG=132201
TEST=browser_tests --gtest_filter=\*OpenDirectory\*
Review URL: https://chromiumcodereview.appspot.com/11587008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/pp_errors.h')
-rw-r--r-- | ppapi/c/pp_errors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ppapi/c/pp_errors.h b/ppapi/c/pp_errors.h index b02ee1b..180ebb3 100644 --- a/ppapi/c/pp_errors.h +++ b/ppapi/c/pp_errors.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From pp_errors.idl modified Tue Mar 13 17:32:37 2012. */ +/* From pp_errors.idl modified Thu Dec 20 14:28:44 2012. */ #ifndef PPAPI_C_PP_ERRORS_H_ #define PPAPI_C_PP_ERRORS_H_ @@ -103,6 +103,8 @@ enum { * unexpectedly. */ PP_ERROR_FILECHANGED = -23, + /** This value indicates that the pathname does not reference a file. */ + PP_ERROR_NOTAFILE = -24, /** This value indicates failure due to a time limit being exceeded. */ PP_ERROR_TIMEDOUT = -30, /** |