Index: webkit/fileapi/sandboxed_file_system_operation.h |
diff --git a/webkit/fileapi/sandboxed_file_system_operation.h b/webkit/fileapi/sandboxed_file_system_operation.h |
index 18d47f789927037165cef0c2d3219faf38fa76b2..8794a9dbf085f96b9a72f6004e0d826c8dd564b9 100644 |
--- a/webkit/fileapi/sandboxed_file_system_operation.h |
+++ b/webkit/fileapi/sandboxed_file_system_operation.h |
@@ -71,6 +71,8 @@ class SandboxedFileSystemOperation : public FileSystemOperation { |
// Returns true if the given |path| is a valid FileSystem path. |
// Otherwise it calls dispatcher's DidFail method with |
// PLATFORM_FILE_ERROR_SECURITY and returns false. |
+ // (Note: this doesn't delete this when it calls DidFail and returns false; |
+ // it's the caller's responsibility.) |
bool VerifyFileSystemPathForRead(const FilePath& path); |
// Checks the validity of a given |path| for writing. |
@@ -85,6 +87,8 @@ class SandboxedFileSystemOperation : public FileSystemOperation { |
// If |create| flag is true this also checks if the |path| contains |
// any restricted names and chars. If it does, the call fires dispatcher's |
// DidFail with PLATFORM_FILE_ERROR_SECURITY and returns false. |
+ // (Note: this doesn't delete this when it calls DidFail and returns false; |
+ // it's the caller's responsibility.) |
bool VerifyFileSystemPathForWrite(const FilePath& path, |
bool create, |
int64 growth); |