Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / media_galleries / fileapi / supported_audio_video_checker.h
index b1de6d5..7d319cc 100644 (file)
@@ -6,10 +6,10 @@
 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SUPPORTED_AUDIO_VIDEO_CHECKER_H_
 
 #include "base/basictypes.h"
+#include "base/files/file.h"
 #include "base/files/file_path.h"
 #include "base/memory/ref_counted.h"
 #include "base/memory/weak_ptr.h"
-#include "base/platform_file.h"
 #include "chrome/browser/media_galleries/fileapi/av_scanning_file_validator.h"
 
 class MediaFileValidatorFactory;
@@ -33,7 +33,7 @@ class SupportedAudioVideoChecker : public AVScanningFileValidator {
 
   explicit SupportedAudioVideoChecker(const base::FilePath& file);
 
-  void OnFileOpen(const base::PlatformFile& file);
+  void OnFileOpen(base::File file);
 
   base::FilePath path_;
   fileapi::CopyOrMoveFileValidator::ResultCallback callback_;