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..c74d76264aa5086e7eea52e8db3668364ef3756f 100644 |
--- a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h |
+++ b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h |
@@ -25,9 +25,12 @@ class SupportedImageTypeValidator : public fileapi::CopyOrMoveFileValidator { |
static bool SupportsFileType(const base::FilePath& path); |
- virtual void StartValidation( |
- const fileapi::CopyOrMoveFileValidator::ResultCallback& |
- result_callback) OVERRIDE; |
+ virtual void StartPreWriteValidation( |
+ const ResultCallback& result_callback) OVERRIDE; |
+ |
+ virtual void StartPostWriteValidation( |
+ const base::FilePath& dest_platform_path, |
+ const ResultCallback& result_callback) OVERRIDE; |
private: |
friend class MediaFileValidatorFactory; |
@@ -39,6 +42,7 @@ class SupportedImageTypeValidator : public fileapi::CopyOrMoveFileValidator { |
base::FilePath path_; |
scoped_refptr<ImageDecoder> decoder_; |
fileapi::CopyOrMoveFileValidator::ResultCallback callback_; |
+ fileapi::CopyOrMoveFileValidator::ResultCallback post_write_callback_; |
base::WeakPtrFactory<SupportedImageTypeValidator> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(SupportedImageTypeValidator); |