diff options
author | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-21 01:06:55 +0000 |
---|---|---|
committer | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-21 01:06:55 +0000 |
commit | 8355b7629254490bf8aa89d9fd5779f4559ac168 (patch) | |
tree | 10f982d6b45befc8531390fa2d1795e8628ad278 /webkit/common/fileapi/file_system_util.cc | |
parent | 4e16817c5d3145408ea306ae1c6bf2f1d5a8421f (diff) | |
download | chromium_src-8355b7629254490bf8aa89d9fd5779f4559ac168.zip chromium_src-8355b7629254490bf8aa89d9fd5779f4559ac168.tar.gz chromium_src-8355b7629254490bf8aa89d9fd5779f4559ac168.tar.bz2 |
[Retry] SyncFS: Support resolveLocalFileSystemURL on SyncFileSystem
Original review: https://codereview.chromium.org/23856002/
window.resolveLocalFileSystemURL is originally defined only for FileSystem API,
but it'd be nice if it works on SyncFileSystem in a similar way. For that this
change adds new IPC messages and interfaces.
Blink side change depends on this:
https://codereview.chromium.org/23537011/
BUG=177137,294502
TEST=manual (Get FileSystemURL for a file on SyncFS, and then resolve it)
TEST=unit_tests
TEST=run_webkit_tests.sh http/tests/filesystem/\*
TEST=run_webkit_tests.sh http/tests/inspector/filesystem/\*
TBR=tsepez@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/23526076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/common/fileapi/file_system_util.cc')
-rw-r--r-- | webkit/common/fileapi/file_system_util.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/common/fileapi/file_system_util.cc b/webkit/common/fileapi/file_system_util.cc index bc9aba7..6229bc2 100644 --- a/webkit/common/fileapi/file_system_util.cc +++ b/webkit/common/fileapi/file_system_util.cc @@ -296,6 +296,8 @@ WebKit::WebFileError PlatformFileErrorToWebFileError( return WebKit::WebFileErrorSecurity; case base::PLATFORM_FILE_ERROR_NO_SPACE: return WebKit::WebFileErrorQuotaExceeded; + case base::PLATFORM_FILE_ERROR_INVALID_URL: + return WebKit::WebFileErrorEncoding; default: return WebKit::WebFileErrorInvalidModification; } |