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..173383810d7d3ba741d381571fffdc0ea0320faa 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) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ callback_ = result_callback; |
+ |
+ // TODO(gbillock): Insert AV call here. |
vandebo (ex-Chrome)
2013/07/02 18:43:05
Since we will have several different validators, w
Greg Billock
2013/07/02 19:17:39
Yes. This is just a placeholder.
|
+ BrowserThread::PostTask( |
+ BrowserThread::IO, |
+ FROM_HERE, |
+ base::Bind(callback_, base::PLATFORM_FILE_OK)); |
+} |
+ |
SupportedImageTypeValidator::SupportedImageTypeValidator( |
const base::FilePath& path) |
: path_(path), |