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

Unified Diff: webkit/fileapi/copy_or_move_file_validator.h

Issue 14225022: fileapi: Pass virtual path to copy validator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: webkit/fileapi/copy_or_move_file_validator.h
diff --git a/webkit/fileapi/copy_or_move_file_validator.h b/webkit/fileapi/copy_or_move_file_validator.h
index 507a2766d12a4fd111924e6efcfe0bc852fae371..1e0a6c6d8db5e3909aee7df1e183261a97cea33f 100644
--- a/webkit/fileapi/copy_or_move_file_validator.h
+++ b/webkit/fileapi/copy_or_move_file_validator.h
@@ -26,8 +26,12 @@ class CopyOrMoveFileValidatorFactory {
public:
virtual ~CopyOrMoveFileValidatorFactory() {}
- // This method must always return a non-NULL validator.
+ // This method must always return a non-NULL validator. |virtual_path| is
+ // the logical file name and |platform_path| is the real filename as stored
+ // on disk. Generally the two will match, except in the case of an obfuscated
+ // file system.
virtual CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator(
+ const base::FilePath& virtual_path,
kinuko 2013/04/18 03:32:00 Does it make sense if we just pass the source File
const base::FilePath& platform_path) = 0;
};
« no previous file with comments | « no previous file | webkit/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | webkit/fileapi/cross_operation_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698