| Index: chrome/browser/media_galleries/fileapi/native_media_file_util.h
|
| diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util.h b/chrome/browser/media_galleries/fileapi/native_media_file_util.h
|
| index aa4ee62299b5e0c053efa9fb484205b77419fb48..aaf81f792a1bab0665446cbebf15e6a4dd08aed6 100644
|
| --- a/chrome/browser/media_galleries/fileapi/native_media_file_util.h
|
| +++ b/chrome/browser/media_galleries/fileapi/native_media_file_util.h
|
| @@ -55,6 +55,17 @@ class NativeMediaFileUtil : public fileapi::IsolatedFileUtil {
|
| const fileapi::FileSystemURL& url,
|
| base::PlatformFileInfo* file_info,
|
| base::FilePath* platform_path) OVERRIDE;
|
| + virtual webkit_blob::ScopedFile CreateSnapshotFile(
|
| + fileapi::FileSystemOperationContext* context,
|
| + const fileapi::FileSystemURL& url,
|
| + base::PlatformFileError* error,
|
| + base::PlatformFileInfo* file_info,
|
| + base::FilePath* platform_path) OVERRIDE;
|
| +
|
| + // Uses the MIME sniffer code, which actually looks into the file,
|
| + // to determine if it is really a media file (to avoid exposing
|
| + // non-media files with a media file extension.)
|
| + static base::PlatformFileError IsMediaFile(const base::FilePath& path);
|
|
|
| private:
|
| // Like GetLocalFilePath(), but always take media_path_filter() into
|
|
|