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

Unified Diff: content/browser/fileapi/browser_file_system_helper.h

Issue 19770009: PepperFileRefHost: Port to use explicit permission grants in ChildProcessSecurityPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0044-write-support-remove-child-process-security-policy-bitmask-usage
Patch Set: Created 7 years, 5 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
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 7207aded1fce398e608b09a5dc5ae6a5eda57b71..04b084c021fa38ba5985425bea0a1c8296884bef 100644
--- a/content/browser/fileapi/browser_file_system_helper.h
+++ b/content/browser/fileapi/browser_file_system_helper.h
@@ -28,6 +28,10 @@ CreateFileSystemContext(
bool is_incognito,
quota::QuotaManagerProxy* quota_manager_proxy);
+// Check whether a file system URL is valid.
Tom Sepez 2013/07/19 18:39:28 nit: what does it really mean to be valid?
tommycli 2013/07/23 21:12:35 Done.
+CONTENT_EXPORT bool FileSystemURLIsValid(fileapi::FileSystemContext* context,
+ const fileapi::FileSystemURL& url);
+
// Check whether a process has permission to access the file system URL.
CONTENT_EXPORT bool CheckFileSystemPermissionsForProcess(
fileapi::FileSystemContext* context,

Powered by Google App Engine
This is Rietveld 408576698