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

Side by Side Diff: chrome/browser/media_galleries/fileapi/media_file_validator_factory.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_MEDIA_FILE_VALIDATOR_FACTORY_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_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 } 13 }
14 14
15 namespace storage { 15 namespace storage {
16 class FileSystemURL; 16 class FileSystemURL;
17 } 17 }
18 18
19 // A factory for media file validators. A media file validator will use various 19 // A factory for media file validators. A media file validator will use various
20 // strategies (depending on the file type) to attempt to verify that the file 20 // strategies (depending on the file type) to attempt to verify that the file
21 // is a valid media file. 21 // is a valid media file.
22 class MediaFileValidatorFactory 22 class MediaFileValidatorFactory
23 : public storage::CopyOrMoveFileValidatorFactory { 23 : public storage::CopyOrMoveFileValidatorFactory {
24 public: 24 public:
25 MediaFileValidatorFactory(); 25 MediaFileValidatorFactory();
26 ~MediaFileValidatorFactory() override; 26 ~MediaFileValidatorFactory() override;
27 27
28 // CopyOrMoveFileValidatorFactory implementation. 28 // CopyOrMoveFileValidatorFactory implementation.
29 storage::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator( 29 storage::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator(
30 const storage::FileSystemURL& src, 30 const storage::FileSystemURL& src,
31 const base::FilePath& platform_path) override; 31 const base::FilePath& platform_path) override;
32 32
33 private: 33 private:
34 DISALLOW_COPY_AND_ASSIGN(MediaFileValidatorFactory); 34 DISALLOW_COPY_AND_ASSIGN(MediaFileValidatorFactory);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H _ 37 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698