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

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

Issue 22441004: [MediaGalleries] Introduce an AV-checking base class for copy-move validation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing header Created 7 years, 4 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
« no previous file with comments | « chrome/browser/media_galleries/fileapi/supported_image_type_validator.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9ae76253c3bb4db6d4584970202449ed06684405..24a400b0188b00c8b71fa5e935aac7be85063edb 100644
--- a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc
+++ b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc
@@ -116,19 +116,6 @@ void SupportedImageTypeValidator::StartPreWriteValidation(
weak_factory_.GetWeakPtr()));
}
-void SupportedImageTypeValidator::StartPostWriteValidation(
- const base::FilePath& dest_platform_path,
- const ResultCallback& result_callback) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- post_write_callback_ = result_callback;
-
- // TODO(gbillock): Insert AV call here in the right validator.
- BrowserThread::PostTask(
- BrowserThread::IO,
- FROM_HERE,
- base::Bind(post_write_callback_, base::PLATFORM_FILE_OK));
-}
-
SupportedImageTypeValidator::SupportedImageTypeValidator(
const base::FilePath& path)
: path_(path),
« no previous file with comments | « chrome/browser/media_galleries/fileapi/supported_image_type_validator.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698