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

Unified Diff: content/browser/child_process_security_policy_impl.cc

Issue 10540070: Make Isolated file system writable only if it is configured so (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added writer wiring for sandbox and test mpp Created 8 years, 6 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
« no previous file with comments | « no previous file | webkit/fileapi/file_system_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_security_policy_impl.cc
diff --git a/content/browser/child_process_security_policy_impl.cc b/content/browser/child_process_security_policy_impl.cc
index 1f40966507ba86db4bed1cde61d4525a8233c2fb..90c0ead285327a2c6104ed7c88dc78a37b4955e9 100644
--- a/content/browser/child_process_security_policy_impl.cc
+++ b/content/browser/child_process_security_policy_impl.cc
@@ -399,6 +399,7 @@ void ChildProcessSecurityPolicyImpl::GrantReadFileSystem(
void ChildProcessSecurityPolicyImpl::GrantReadWriteFileSystem(
int child_id, const std::string& filesystem_id) {
+ fileapi::IsolatedContext::GetInstance()->SetWritable(filesystem_id, true);
GrantPermissionsForFileSystem(child_id, filesystem_id,
kReadFilePermissions |
kWriteFilePermissions);
« no previous file with comments | « no previous file | webkit/fileapi/file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698