Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2592)

Unified Diff: content/public/browser/child_process_security_policy.h

Issue 185393012: Change media galleries to external file system type to add toURL support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/child_process_security_policy.h
diff --git a/content/public/browser/child_process_security_policy.h b/content/public/browser/child_process_security_policy.h
index 2f462b28a18aace52484037319fc3e8d7865ccad..261bf58f1810ee8d559a83149a44b222f2c8039b 100644
--- a/content/public/browser/child_process_security_policy.h
+++ b/content/public/browser/child_process_security_policy.h
@@ -51,6 +51,12 @@ class ChildProcessSecurityPolicy {
virtual void GrantCreateReadWriteFile(int child_id,
const base::FilePath& file) = 0;
+ // This permission grants copy-into permission for |dir|.
+ virtual void GrantCopyInto(int child_id, const base::FilePath& dir) = 0;
+
+ // This permission grants delete permission for |dir|.
+ virtual void GrantDeleteFrom(int child_id, const base::FilePath& dir) = 0;
+
// These methods verify whether or not the child process has been granted
// permissions perform these functions on |file|.
« no previous file with comments | « content/browser/child_process_security_policy_impl.cc ('k') | webkit/browser/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698