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

Unified Diff: chrome/browser/media_galleries/fileapi/supported_image_type_validator.h

Issue 18565002: [FileSystem] Add another copy-or-move validation hook for post-write. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify dest validation callbacks and delete dest file on error Created 7 years, 6 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: chrome/browser/media_galleries/fileapi/supported_image_type_validator.h
diff --git a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h
index 8c655b5542065b2dd4e27e30a28210d937c8e351..771b9d17fb9c562502a6d076c27b358a8db27a8f 100644
--- a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h
+++ b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h
@@ -29,6 +29,11 @@ class SupportedImageTypeValidator : public fileapi::CopyOrMoveFileValidator {
const fileapi::CopyOrMoveFileValidator::ResultCallback&
result_callback) OVERRIDE;
+ virtual void StartPostWriteValidation(
+ const base::FilePath& dest_platform_path,
+ const fileapi::CopyOrMoveFileValidator::ResultCallback&
kinuko 2013/07/03 04:53:08 nit: I think you can directly refer ResultCallback
Greg Billock 2013/07/03 16:08:27 Done.
+ result_callback) OVERRIDE;
+
private:
friend class MediaFileValidatorFactory;

Powered by Google App Engine
This is Rietveld 408576698