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

Unified Diff: webkit/fileapi/sandbox_mount_point_provider.cc

Issue 11308360: Merge 170159 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1312/src/
Patch Set: Created 8 years 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 | « webkit/fileapi/file_system_directory_database.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/sandbox_mount_point_provider.cc
===================================================================
--- webkit/fileapi/sandbox_mount_point_provider.cc (revision 171066)
+++ webkit/fileapi/sandbox_mount_point_provider.cc (working copy)
@@ -442,9 +442,9 @@
FilePath SandboxMountPointProvider::GetPathForPermissionsCheck(
const FilePath& virtual_path) const {
- // We simply return the very top directory of the sandbox
- // filesystem regardless of the input path.
- return new_base_path();
+ // Sandbox provider shouldn't directly grant permissions for its
+ // data directory.
+ return FilePath();
}
FileSystemOperation* SandboxMountPointProvider::CreateFileSystemOperation(
« no previous file with comments | « webkit/fileapi/file_system_directory_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698