Index: chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
diff --git a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
index 00c601d8644ccc9ea2abcac68cce3def5925de1d..9e755650cfbc3ad0e7e838538fc10f22d0eb8f1a 100644 |
--- a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
+++ b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
@@ -125,6 +125,19 @@ void SupportedImageTypeValidator::StartValidation( |
weak_factory_.GetWeakPtr())); |
} |
+void SupportedImageTypeValidator::StartPostWriteValidation( |
+ const base::FilePath& dest_platform_path, |
+ const fileapi::CopyOrMoveFileValidator::ResultCallback& result_callback) { |
kinuko
2013/07/03 04:53:08
ditto for ResultCallback
Greg Billock
2013/07/03 16:08:27
Done.
|
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ callback_ = result_callback; |
+ |
+ // TODO(gbillock): Insert AV call here in the right validator. |
+ BrowserThread::PostTask( |
+ BrowserThread::IO, |
+ FROM_HERE, |
+ base::Bind(callback_, base::PLATFORM_FILE_OK)); |
+} |
+ |
SupportedImageTypeValidator::SupportedImageTypeValidator( |
const base::FilePath& path) |
: path_(path), |