| Index: content/browser/fileapi/browser_file_system_helper.h
|
| diff --git a/content/browser/fileapi/browser_file_system_helper.h b/content/browser/fileapi/browser_file_system_helper.h
|
| index fe2fcfebea391503703eb9d8a5addd6a528468b0..091a1f287fdfd7712c01ea3ad72724f350729db6 100644
|
| --- a/content/browser/fileapi/browser_file_system_helper.h
|
| +++ b/content/browser/fileapi/browser_file_system_helper.h
|
| @@ -11,6 +11,8 @@
|
|
|
| namespace fileapi {
|
| class ExternalMountPoints;
|
| +class FileSystemContext;
|
| +class FileSystemURL;
|
| }
|
|
|
| namespace quota {
|
| @@ -29,6 +31,20 @@ CreateFileSystemContext(
|
| quota::SpecialStoragePolicy* special_storage_policy,
|
| quota::QuotaManagerProxy* quota_manager_proxy);
|
|
|
| +// Check whether a process has permission to access the file system URL.
|
| +CONTENT_EXPORT bool CheckFileSystemPermissionsForProcess(
|
| + fileapi::FileSystemContext* context,
|
| + int process_id,
|
| + const fileapi::FileSystemURL& url,
|
| + int permissions,
|
| + base::PlatformFileError* error);
|
| +
|
| +// Get the platform path from a file system URL. This needs to be called
|
| +// on the FILE thread.
|
| +CONTENT_EXPORT void SyncGetPlatformPath(fileapi::FileSystemContext* context,
|
| + int process_id,
|
| + const GURL& path,
|
| + base::FilePath* platform_path);
|
| } // namespace content
|
|
|
| #endif // CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_
|
|
|