NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / media_galleries / fileapi / av_scanning_file_validator.h
blobb148c29acbdce9c92c54237b86fd5ddd89006a81
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.
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
8 #include "base/basictypes.h"
9 #include "webkit/browser/fileapi/copy_or_move_file_validator.h"
11 namespace base {
12 class FilePath;
13 } // namespace base
15 // This class supports AV scanning on post write validation.
16 class AVScanningFileValidator : public fileapi::CopyOrMoveFileValidator {
17 public:
18 virtual ~AVScanningFileValidator();
20 // Runs AV checks on the resulting file (Windows-only).
21 // Subclasses will not typically override this method.
22 virtual void StartPostWriteValidation(
23 const base::FilePath& dest_platform_path,
24 const ResultCallback& result_callback) OVERRIDE;
26 protected:
27 AVScanningFileValidator();
29 private:
30 DISALLOW_COPY_AND_ASSIGN(AVScanningFileValidator);
33 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_