summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_path_manager.h
diff options
context:
space:
mode:
authorericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-23 02:20:02 +0000
committerericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-23 02:20:02 +0000
commit04807c299fd6d05b5c288fd86f7905884a3cc19b (patch)
tree02e2c7e8ffed9ad22553cd2918b92e9dc0dbf08c /webkit/fileapi/file_system_path_manager.h
parent6a558a36f77d504f7fdf21c1e4d0ad63caa5909a (diff)
downloadchromium_src-04807c299fd6d05b5c288fd86f7905884a3cc19b.zip
chromium_src-04807c299fd6d05b5c288fd86f7905884a3cc19b.tar.gz
chromium_src-04807c299fd6d05b5c288fd86f7905884a3cc19b.tar.bz2
Workers who want to use FileWriter need to be granted permission to access files in the user's FileSystem directory.
BUG=none; you need tests I haven't checked in yet to repro this problem. TEST=none; tests are in review, but will go in after this fix. Review URL: http://codereview.chromium.org/3991007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63619 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_path_manager.h')
-rw-r--r--webkit/fileapi/file_system_path_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_path_manager.h b/webkit/fileapi/file_system_path_manager.h
index 99e0bfc..12104ef 100644
--- a/webkit/fileapi/file_system_path_manager.h
+++ b/webkit/fileapi/file_system_path_manager.h
@@ -70,6 +70,10 @@ class FileSystemPathManager {
static const char kPersistentName[];
static const char kTemporaryName[];
+ const FilePath& base_path() const {
+ return base_path_;
+ }
+
private:
class GetFileSystemRootPathTask;