OLD | NEW |
---|---|
(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_MEDIA_FILE_VALIDATOR_FACTORY_H_ | |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "base/files/file_path.h" | |
10 #include "webkit/fileapi/copy_or_move_file_validator.h" | |
11 | |
12 namespace fileapi { | |
13 class FileSystemURL; | |
14 } | |
15 | |
16 namespace chrome { | |
17 | |
Greg Billock
2013/05/22 16:21:59
class comment
vandebo (ex-Chrome)
2013/05/22 18:41:17
Done.
| |
18 class MediaFileValidatorFactory | |
19 : public fileapi::CopyOrMoveFileValidatorFactory { | |
20 public: | |
21 MediaFileValidatorFactory(); | |
22 virtual ~MediaFileValidatorFactory(); | |
23 | |
24 virtual fileapi::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator( | |
25 const fileapi::FileSystemURL& src, | |
Greg Billock
2013/05/22 16:21:59
Why does the factory method take these args? They
vandebo (ex-Chrome)
2013/05/22 18:41:17
There is a comment explaining the args in the pare
| |
26 const base::FilePath& platform_path) OVERRIDE; | |
27 private: | |
28 DISALLOW_COPY_AND_ASSIGN(MediaFileValidatorFactory); | |
29 }; | |
30 | |
31 } // namespace chrome | |
32 | |
33 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H _ | |
OLD | NEW |