[fsp] Fix error codes.
This patch cleans up returned error codes. And now: - base::File::FILE_ERROR_SECURITY is for policy errors, or not handled events. - base::File::FILE_ERROR_ACCESS_DENIED for all writing operations. - base::File::FILE_ERROR_INVALID_OPERATION for invalid arguments to operations or operations which are read-only but not yet implemented. TEST=browser_tests, unit_tests: *FileSystemProvider* BUG=373151 Review URL: https://codereview.chromium.org/298003006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273178 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment