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

Unified Diff: content/browser/child_process_security_policy_impl.h

Issue 2394673002: In ChildProcessSecurityPolicy, rename to |url| to |filesystem_url| (Closed)
Patch Set: Fixed botched rebase Created 4 years, 2 months 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
« no previous file with comments | « no previous file | content/browser/child_process_security_policy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 916643f09e465e256509fee1724b7e85eaa45185..62d05efe210b3c2ca7b65a74dec7a568b5b81a98 100644
--- a/content/browser/child_process_security_policy_impl.h
+++ b/content/browser/child_process_security_policy_impl.h
@@ -137,14 +137,19 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
bool CanSetAsOriginHeader(int child_id, const GURL& url);
// Explicit permissions checks for FileSystemURL specified files.
- bool CanReadFileSystemFile(int child_id, const storage::FileSystemURL& url);
- bool CanWriteFileSystemFile(int child_id, const storage::FileSystemURL& url);
- bool CanCreateFileSystemFile(int child_id, const storage::FileSystemURL& url);
- bool CanCreateReadWriteFileSystemFile(int child_id,
- const storage::FileSystemURL& url);
+ bool CanReadFileSystemFile(int child_id,
+ const storage::FileSystemURL& filesystem_url);
+ bool CanWriteFileSystemFile(int child_id,
+ const storage::FileSystemURL& filesystem_url);
+ bool CanCreateFileSystemFile(int child_id,
+ const storage::FileSystemURL& filesystem_url);
+ bool CanCreateReadWriteFileSystemFile(
+ int child_id,
+ const storage::FileSystemURL& filesystem_url);
bool CanCopyIntoFileSystemFile(int child_id,
- const storage::FileSystemURL& url);
- bool CanDeleteFileSystemFile(int child_id, const storage::FileSystemURL& url);
+ const storage::FileSystemURL& filesystem_url);
+ bool CanDeleteFileSystemFile(int child_id,
+ const storage::FileSystemURL& filesystem_url);
// Returns true if the specified child_id has been granted ReadRawCookies.
bool CanReadRawCookies(int child_id);
@@ -214,9 +219,10 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
// Determines if certain permissions were granted for a file in FileSystem
// API. |permissions| is an internally defined bit-set.
- bool HasPermissionsForFileSystemFile(int child_id,
- const storage::FileSystemURL& url,
- int permissions);
+ bool HasPermissionsForFileSystemFile(
+ int child_id,
+ const storage::FileSystemURL& filesystem_url,
+ int permissions);
// Determines if certain permissions were granted for a file system.
// |permissions| is an internally defined bit-set.
« no previous file with comments | « no previous file | content/browser/child_process_security_policy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698