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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
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/basictypes.h"
9 #include "webkit/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 fileapi { 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 fileapi::CopyOrMoveFileValidatorFactory { 23 : public storage::CopyOrMoveFileValidatorFactory {
24 public: 24 public:
25 MediaFileValidatorFactory(); 25 MediaFileValidatorFactory();
26 virtual ~MediaFileValidatorFactory(); 26 virtual ~MediaFileValidatorFactory();
27 27
28 // CopyOrMoveFileValidatorFactory implementation. 28 // CopyOrMoveFileValidatorFactory implementation.
29 virtual fileapi::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator( 29 virtual storage::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator(
30 const fileapi::FileSystemURL& src, 30 const storage::FileSystemURL& src,
31 const base::FilePath& platform_path) OVERRIDE; 31 const base::FilePath& platform_path) OVERRIDE;
32
32 private: 33 private:
33 DISALLOW_COPY_AND_ASSIGN(MediaFileValidatorFactory); 34 DISALLOW_COPY_AND_ASSIGN(MediaFileValidatorFactory);
34 }; 35 };
35 36
36 #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