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

Side by Side Diff: chrome/browser/media_galleries/fileapi/av_scanning_file_validator.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
7
8 #include "base/basictypes.h"
9 #include "webkit/browser/fileapi/copy_or_move_file_validator.h"
10
11 namespace base {
12 class FilePath;
13 } // namespace base
14
15 namespace chrome {
16
17 // This class supports AV scanning on post write validation.
18 class AVScanningFileValidator : public fileapi::CopyOrMoveFileValidator {
19 public:
20 virtual ~AVScanningFileValidator();
21
22 // Runs AV checks on the resulting file (Windows-only).
23 // Subclasses will not typically override this method.
24 virtual void StartPostWriteValidation(
25 const base::FilePath& dest_platform_path,
26 const ResultCallback& result_callback) OVERRIDE;
27
28 protected:
29 AVScanningFileValidator();
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(AVScanningFileValidator);
33 };
34
35 } // namespace chrome
36
37 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698