Index: webkit/browser/fileapi/copy_or_move_file_validator.h |
diff --git a/webkit/browser/fileapi/copy_or_move_file_validator.h b/webkit/browser/fileapi/copy_or_move_file_validator.h |
index 9b32f5b8d3b101f81caae0d29038d76fb6ebd289..2bd4df17b7a6359136281f248d624a1af57ab4f2 100644 |
--- a/webkit/browser/fileapi/copy_or_move_file_validator.h |
+++ b/webkit/browser/fileapi/copy_or_move_file_validator.h |
@@ -25,7 +25,16 @@ class WEBKIT_STORAGE_BROWSER_EXPORT CopyOrMoveFileValidator { |
virtual ~CopyOrMoveFileValidator() {} |
- virtual void StartValidation(const ResultCallback& result_callback) = 0; |
+ // Called on a source file before copying or moving to the final |
+ // destination. |
+ virtual void StartPreWriteValidation( |
+ const ResultCallback& result_callback) = 0; |
+ |
+ // Called on a destination file after copying or moving to the final |
+ // destination. Suitable for running Anti-Virus checks. |
+ virtual void StartPostWriteValidation( |
+ const base::FilePath& dest_platform_path, |
+ const ResultCallback& result_callback) = 0; |
}; |
class CopyOrMoveFileValidatorFactory { |