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

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

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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 "webkit/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 fileapi {
16 class FileSystemURL; 16 class FileSystemURL;
17 } 17 }
18 18
19 namespace chrome {
20
21 // 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
22 // 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
23 // is a valid media file. 21 // is a valid media file.
24 class MediaFileValidatorFactory 22 class MediaFileValidatorFactory
25 : public fileapi::CopyOrMoveFileValidatorFactory { 23 : public fileapi::CopyOrMoveFileValidatorFactory {
26 public: 24 public:
27 MediaFileValidatorFactory(); 25 MediaFileValidatorFactory();
28 virtual ~MediaFileValidatorFactory(); 26 virtual ~MediaFileValidatorFactory();
29 27
30 // CopyOrMoveFileValidatorFactory implementation. 28 // CopyOrMoveFileValidatorFactory implementation.
31 virtual fileapi::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator( 29 virtual fileapi::CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator(
32 const fileapi::FileSystemURL& src, 30 const fileapi::FileSystemURL& src,
33 const base::FilePath& platform_path) OVERRIDE; 31 const base::FilePath& platform_path) OVERRIDE;
34 private: 32 private:
35 DISALLOW_COPY_AND_ASSIGN(MediaFileValidatorFactory); 33 DISALLOW_COPY_AND_ASSIGN(MediaFileValidatorFactory);
36 }; 34 };
37 35
38 } // namespace chrome
39
40 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H _ 36 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_VALIDATOR_FACTORY_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698