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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "storage/browser/fileapi/copy_or_move_file_validator.h" 9 #include "storage/browser/fileapi/copy_or_move_file_validator.h"
10 10
11 namespace base { 11 namespace base {
12 class FilePath; 12 class FilePath;
13 } // namespace base 13 } // namespace base
14 14
15 // This class supports AV scanning on post write validation. 15 // This class supports AV scanning on post write validation.
16 class AVScanningFileValidator : public storage::CopyOrMoveFileValidator { 16 class AVScanningFileValidator : public storage::CopyOrMoveFileValidator {
17 public: 17 public:
18 ~AVScanningFileValidator() override; 18 ~AVScanningFileValidator() override;
19 19
20 // Runs AV checks on the resulting file (Windows-only). 20 // Runs AV checks on the resulting file (Windows-only).
21 // Subclasses will not typically override this method. 21 // Subclasses will not typically override this method.
22 void StartPostWriteValidation(const base::FilePath& dest_platform_path, 22 void StartPostWriteValidation(const base::FilePath& dest_platform_path,
23 const ResultCallback& result_callback) override; 23 const ResultCallback& result_callback) override;
24 24
25 protected: 25 protected:
26 AVScanningFileValidator(); 26 AVScanningFileValidator();
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(AVScanningFileValidator); 29 DISALLOW_COPY_AND_ASSIGN(AVScanningFileValidator);
30 }; 30 };
31 31
32 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_ 32 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_AV_SCANNING_FILE_VALIDATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698