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/api | |
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/api')
-rw-r--r-- | ppapi/api/pp_errors.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/api/pp_errors.idl b/ppapi/api/pp_errors.idl index fc0ff4a..54a3ace 100644 --- a/ppapi/api/pp_errors.idl +++ b/ppapi/api/pp_errors.idl @@ -103,6 +103,8 @@ * 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, /** |