OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ | 5 #ifndef WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ |
6 #define WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ | 6 #define WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ |
7 | 7 |
8 #include "webkit/fileapi/fileapi_export.h" | 8 #include "webkit/fileapi/fileapi_export.h" |
9 #include "webkit/fileapi/isolated_file_util.h" | 9 #include "webkit/fileapi/isolated_file_util.h" |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 bool recursive) OVERRIDE; | 32 bool recursive) OVERRIDE; |
33 virtual PlatformFileError Touch( | 33 virtual PlatformFileError Touch( |
34 FileSystemOperationContext* context, | 34 FileSystemOperationContext* context, |
35 const FileSystemURL& url, | 35 const FileSystemURL& url, |
36 const base::Time& last_access_time, | 36 const base::Time& last_access_time, |
37 const base::Time& last_modified_time) OVERRIDE; | 37 const base::Time& last_modified_time) OVERRIDE; |
38 virtual PlatformFileError Truncate( | 38 virtual PlatformFileError Truncate( |
39 FileSystemOperationContext* context, | 39 FileSystemOperationContext* context, |
40 const FileSystemURL& url, | 40 const FileSystemURL& url, |
41 int64 length) OVERRIDE; | 41 int64 length) OVERRIDE; |
42 virtual bool PathExists( | |
43 FileSystemOperationContext* context, | |
44 const FileSystemURL& url) OVERRIDE; | |
45 virtual bool IsDirectoryEmpty( | 42 virtual bool IsDirectoryEmpty( |
46 FileSystemOperationContext* context, | 43 FileSystemOperationContext* context, |
47 const FileSystemURL& url) OVERRIDE; | 44 const FileSystemURL& url) OVERRIDE; |
48 virtual PlatformFileError CopyOrMoveFile( | 45 virtual PlatformFileError CopyOrMoveFile( |
49 FileSystemOperationContext* context, | 46 FileSystemOperationContext* context, |
50 const FileSystemURL& src_url, | 47 const FileSystemURL& src_url, |
51 const FileSystemURL& dest_url, | 48 const FileSystemURL& dest_url, |
52 bool copy) OVERRIDE; | 49 bool copy) OVERRIDE; |
53 virtual PlatformFileError CopyInForeignFile( | 50 virtual PlatformFileError CopyInForeignFile( |
54 FileSystemOperationContext* context, | 51 FileSystemOperationContext* context, |
55 const FilePath& src_file_path, | 52 const FilePath& src_file_path, |
56 const FileSystemURL& dest_url) OVERRIDE; | 53 const FileSystemURL& dest_url) OVERRIDE; |
57 virtual PlatformFileError DeleteFile( | 54 virtual PlatformFileError DeleteFile( |
58 FileSystemOperationContext* context, | 55 FileSystemOperationContext* context, |
59 const FileSystemURL& url) OVERRIDE; | 56 const FileSystemURL& url) OVERRIDE; |
60 virtual PlatformFileError GetFileInfo( | 57 virtual PlatformFileError GetFileInfo( |
61 FileSystemOperationContext* context, | 58 FileSystemOperationContext* context, |
62 const FileSystemURL& url, | 59 const FileSystemURL& url, |
63 base::PlatformFileInfo* file_info, | 60 base::PlatformFileInfo* file_info, |
64 FilePath* platform_path) OVERRIDE; | 61 FilePath* platform_path) OVERRIDE; |
65 | 62 |
66 private: | 63 private: |
67 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); | 64 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); |
68 }; | 65 }; |
69 | 66 |
70 } // namespace fileapi | 67 } // namespace fileapi |
71 | 68 |
72 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ | 69 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ |
OLD | NEW |