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

Unified Diff: content/browser/fileapi/fileapi_message_filter.cc

Issue 12258021: Fix filesystem API file_handlers to work for drive on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/browser/fileapi/fileapi_message_filter.cc
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc
index 446cb8f1133c1e7c20ac7403e1d96bd916edb06c..a745853d198b440b7ed03281721584a57b622d30 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -933,7 +933,7 @@ bool FileAPIMessageFilter::HasPermissionsForFile(
}
case fileapi::FILE_PERMISSION_USE_FILESYSTEM_PERMISSION: {
const bool success = policy->HasPermissionsForFileSystem(
- process_id_, url.filesystem_id(), permissions);
+ process_id_, url.mount_filesystem_id(), permissions);
if (!success)
*error = base::PLATFORM_FILE_ERROR_SECURITY;
return success;
« no previous file with comments | « chrome/test/data/chromeos/gdata/remote_file_system_apitest_root_feed.json ('k') | webkit/fileapi/external_mount_points.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698