| 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..a33d1356d2c7ec8e20bc9739057e3dbbd4bcd61d 100644
|
| --- a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h
|
| +++ b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.h
|
| @@ -26,8 +26,11 @@ class SupportedImageTypeValidator : public fileapi::CopyOrMoveFileValidator {
|
| static bool SupportsFileType(const base::FilePath& path);
|
|
|
| virtual void StartValidation(
|
| - const fileapi::CopyOrMoveFileValidator::ResultCallback&
|
| - result_callback) OVERRIDE;
|
| + 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);
|
|
|