| Index: webkit/fileapi/media/native_media_file_util.h
|
| diff --git a/webkit/fileapi/media/native_media_file_util.h b/webkit/fileapi/media/native_media_file_util.h
|
| index b1e35733d850b983781dc2434079e6aab9ed48c8..8e16198fd3c86afb00e8bd6808ac32e605899de2 100644
|
| --- a/webkit/fileapi/media/native_media_file_util.h
|
| +++ b/webkit/fileapi/media/native_media_file_util.h
|
| @@ -58,6 +58,17 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE NativeMediaFileUtil
|
| const FileSystemURL& url,
|
| base::PlatformFileInfo* file_info,
|
| base::FilePath* platform_path) OVERRIDE;
|
| + virtual base::PlatformFileError CreateSnapshotFile(
|
| + FileSystemOperationContext* context,
|
| + const FileSystemURL& url,
|
| + base::PlatformFileInfo* file_info,
|
| + base::FilePath* platform_path,
|
| + SnapshotFilePolicy* snapshot_policy) 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
|
|
|