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

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: Address comments 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
« no previous file with comments | « no previous file | webkit/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a3e4a42a468084873366365fef707942a37ecabe 100644
--- a/webkit/fileapi/copy_or_move_file_validator.h
+++ b/webkit/fileapi/copy_or_move_file_validator.h
@@ -26,8 +26,11 @@ class CopyOrMoveFileValidatorFactory {
public:
virtual ~CopyOrMoveFileValidatorFactory() {}
- // This method must always return a non-NULL validator.
+ // This method must always return a non-NULL validator. |src_url| is needed
+ // in addition to |platform_path| because in the obfuscated file system
+ // case, |platform_path| will be an obfuscated filename and extension.
virtual CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator(
+ const FileSystemURL& src_url,
const base::FilePath& platform_path) = 0;
};
« no previous file with comments | « no previous file | webkit/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698