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

Side by Side Diff: chrome/browser/media_galleries/fileapi/supported_audio_video_checker.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_SUPPORTED_AUDIO_VIDEO_CHECKER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_AUDIO_VIDEO_CHECKER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_AUDIO_VIDEO_CHECKER_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_AUDIO_VIDEO_CHECKER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/files/file.h" 9 #include "base/files/file.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 18 matching lines...) Expand all
29 const ResultCallback& result_callback) OVERRIDE; 29 const ResultCallback& result_callback) OVERRIDE;
30 30
31 private: 31 private:
32 friend class MediaFileValidatorFactory; 32 friend class MediaFileValidatorFactory;
33 33
34 explicit SupportedAudioVideoChecker(const base::FilePath& file); 34 explicit SupportedAudioVideoChecker(const base::FilePath& file);
35 35
36 void OnFileOpen(base::File file); 36 void OnFileOpen(base::File file);
37 37
38 base::FilePath path_; 38 base::FilePath path_;
39 fileapi::CopyOrMoveFileValidator::ResultCallback callback_; 39 storage::CopyOrMoveFileValidator::ResultCallback callback_;
40 scoped_refptr<SafeAudioVideoChecker> safe_checker_; 40 scoped_refptr<SafeAudioVideoChecker> safe_checker_;
41 base::WeakPtrFactory<SupportedAudioVideoChecker> weak_factory_; 41 base::WeakPtrFactory<SupportedAudioVideoChecker> weak_factory_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(SupportedAudioVideoChecker); 43 DISALLOW_COPY_AND_ASSIGN(SupportedAudioVideoChecker);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_AUDIO_VIDEO_CHECKER_ H_ 46 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_AUDIO_VIDEO_CHECKER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698