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

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..ba1e0943628c90332e00a7ba656af3ce2c36ede8 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);
+// Verifies that |url| is valid and has a registered backend in |context|.
+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