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

Unified Diff: content/browser/child_process_security_policy_impl.h

Issue 46303005: Fix chrome upload with content uri (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding unittests for net/ Created 7 years, 1 month 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/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);

Powered by Google App Engine
This is Rietveld 408576698