| Index: content/browser/child_process_security_policy_impl.h
|
| diff --git a/content/browser/child_process_security_policy_impl.h b/content/browser/child_process_security_policy_impl.h
|
| index 646b3e631b92b635a4eb103ba10b8f77de50bf36..b4e305774f60c1f990127ac7923ba205dfabf3ea 100644
|
| --- a/content/browser/child_process_security_policy_impl.h
|
| +++ b/content/browser/child_process_security_policy_impl.h
|
| @@ -174,7 +174,8 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
| void LockToOrigin(int child_id, const GURL& gurl);
|
|
|
| // Determines if certain permissions were granted for a file fystem.
|
| - // |permissions| must be a bitwise-or'd value of base::PlatformFileFlags.
|
| + // |permissions| must be a bitwise-or'd value of
|
| + // ChildProcessSecurityPermissions.
|
| bool HasPermissionsForFileSystem(
|
| int child_id,
|
| const std::string& filesystem_id,
|
| @@ -213,13 +214,13 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
|
|
| // Determines if certain permissions were granted for a file to given child
|
| // process. |permissions| must be a bitwise-or'd value of
|
| - // base::PlatformFileFlags.
|
| + // ChildProcessSecurityPermissions.
|
| bool ChildProcessHasPermissionsForFile(int child_id,
|
| const base::FilePath& file,
|
| int permissions);
|
|
|
| // Grant a particular permission set for a file. |permissions| is a bit-set
|
| - // of base::PlatformFileFlags.
|
| + // of ChildProcessSecurityPermissions.
|
| void GrantPermissionsForFile(int child_id,
|
| const base::FilePath& file,
|
| int permissions);
|
| @@ -234,14 +235,15 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
|
|
| // Deprecated: Use CanReadFile, etc. methods instead.
|
| // Determines if certain permissions were granted for a file. |permissions|
|
| - // must be a bitwise-or'd value of base::PlatformFileFlags.
|
| + // must be a bitwise-or'd value of ChildProcessSecurityPermissions.
|
| bool HasPermissionsForFile(int child_id,
|
| const base::FilePath& file,
|
| int permissions);
|
|
|
| // Deprecated: Use CanReadFileSystemFile, etc. methods instead.
|
| // Determines if certain permissions were granted for a file in FileSystem
|
| - // API. |permissions| must be a bitwise-or'd value of base::PlatformFileFlags.
|
| + // API. |permissions| must be a bitwise-or'd value of
|
| + // ChildProcessSecurityPermissions.
|
| bool HasPermissionsForFileSystemFile(int child_id,
|
| const fileapi::FileSystemURL& url,
|
| int permissions);
|
|
|