Index: chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc |
diff --git a/chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc b/chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc |
index 277bc9908dceab83e1044b2deaff22a3e6257b39..91b24c56cebf03b40d743e6c48a362539fdfd5d8 100644 |
--- a/chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc |
+++ b/chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc |
@@ -299,7 +299,7 @@ GrantedFileEntry CreateFileEntry( |
DCHECK(isolated_context); |
result.filesystem_id = isolated_context->RegisterFileSystemForPath( |
- fileapi::kFileSystemTypeNativeForPlatformApp, path, |
+ fileapi::kFileSystemTypeNativeForPlatformApp, std::string(), path, |
&result.registered_name); |
content::ChildProcessSecurityPolicy* policy = |
@@ -368,8 +368,10 @@ bool ValidateFileEntryAndGetPath( |
.Append(relative_path); |
fileapi::FileSystemType type; |
fileapi::FileSystemMountOption mount_option; |
+ std::string cracked_id; |
if (!context->CrackVirtualPath( |
- virtual_path, &filesystem_id, &type, file_path, &mount_option)) { |
+ virtual_path, &filesystem_id, &type, &cracked_id, file_path, |
+ &mount_option)) { |
*error = kInvalidParameters; |
return false; |
} |