diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-30 08:36:55 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-30 08:36:55 +0000 |
commit | d65c8215eae22236f282a98df358a27a8f7babb2 (patch) | |
tree | fcd939beb3c43c4b92412ab19da93f27c22dbdef /webkit/fileapi/isolated_file_util.h | |
parent | c793bcce64a56fd55c3ba2a69a716aca3c6abef8 (diff) | |
download | chromium_src-d65c8215eae22236f282a98df358a27a8f7babb2.zip chromium_src-d65c8215eae22236f282a98df358a27a8f7babb2.tar.gz chromium_src-d65c8215eae22236f282a98df358a27a8f7babb2.tar.bz2 |
Remove ugly writable flags from IsolatedContext
For regular chrome centralize the read/write permission to ChildProcessSecurityPolicy and do nothing in fileapi layer.
For DRT/content_shell disable writes at SimpleFileSystem layer as well as we do in FileAPIMessageFilter for chrome.
BUG=none
TEST=existing tests
TEST=layout tests https://bugs.webkit.org/show_bug.cgi?id=89981
Review URL: https://chromiumcodereview.appspot.com/10692005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/isolated_file_util.h')
-rw-r--r-- | webkit/fileapi/isolated_file_util.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/webkit/fileapi/isolated_file_util.h b/webkit/fileapi/isolated_file_util.h index b95146b..1d708a6 100644 --- a/webkit/fileapi/isolated_file_util.h +++ b/webkit/fileapi/isolated_file_util.h @@ -94,12 +94,6 @@ class FILEAPI_EXPORT_PRIVATE IsolatedFileUtil : public FileSystemFileUtil { // Returns false if the given |url| is not a valid path. bool GetPlatformPath(const FileSystemURL& url, FilePath* platform_path) const; - - // Returns false if the given |url| is not a valid path, or - // the file system is not writable. - bool GetPlatformPathForWrite(const FileSystemURL& url, - FilePath* platform_path) const; - DISALLOW_COPY_AND_ASSIGN(IsolatedFileUtil); }; |