summaryrefslogtreecommitdiffstats
path: root/content/browser/child_process_security_policy_impl.h
diff options
context:
space:
mode:
authorthorogood@chromium.org <thorogood@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-19 05:32:10 +0000
committerthorogood@chromium.org <thorogood@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-19 05:32:10 +0000
commitd8d1cbeb433e322601b3ec870b9d539f64a67b49 (patch)
tree36c208be1b93a180d398547a31c8d9edaa395244 /content/browser/child_process_security_policy_impl.h
parentc884117bde35b042ccd35c1181a46d79c2449b36 (diff)
downloadchromium_src-d8d1cbeb433e322601b3ec870b9d539f64a67b49.zip
chromium_src-d8d1cbeb433e322601b3ec870b9d539f64a67b49.tar.gz
chromium_src-d8d1cbeb433e322601b3ec870b9d539f64a67b49.tar.bz2
Add isWritableFileEntry to the fileSystem API
isWritableFileEntry determines whether an existing FileEntry, obtained via getWritableFileEntry or chooseFile, is writable (otherwise, we assume it is readable). BUG=135689 TEST= Review URL: https://chromiumcodereview.appspot.com/10692104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/child_process_security_policy_impl.h')
-rw-r--r--content/browser/child_process_security_policy_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/child_process_security_policy_impl.h b/content/browser/child_process_security_policy_impl.h
index 93ac973..b6898c4 100644
--- a/content/browser/child_process_security_policy_impl.h
+++ b/content/browser/child_process_security_policy_impl.h
@@ -47,6 +47,9 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
virtual bool CanReadFile(int child_id, const FilePath& file) OVERRIDE;
virtual bool CanReadFileSystem(int child_id,
const std::string& filesystem_id) OVERRIDE;
+ virtual bool CanReadWriteFileSystem(
+ int child_id,
+ const std::string& filesystem_id) OVERRIDE;
// Pseudo schemes are treated differently than other schemes because they
// cannot be requested like normal URLs. There is no mechanism for revoking