Chromium Code Reviews| 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 7f0ee78101704d8d5cc95fe93cfb308afa9cc03b..a0530e37f5fc0181a760a4158d321efe34c5b957 100644 |
| --- a/content/browser/child_process_security_policy_impl.h |
| +++ b/content/browser/child_process_security_policy_impl.h |
| @@ -178,7 +178,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. |
|
Tom Sepez
2013/11/11 18:28:34
Thanks for taking a stab at fixing this comment.
qinmin
2013/11/11 20:49:53
Done. crbug/317814 filed to track this.
On 2013/1
|
| bool HasPermissionsForFileSystem( |
| int child_id, |
| const std::string& filesystem_id, |
| @@ -217,13 +218,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); |
| @@ -238,14 +239,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); |