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_DEVICE_MEDIA_FILE_UTIL_H_ | 5 #ifndef WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ | 6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
7 | 7 |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/platform_file.h" | 9 #include "base/platform_file.h" |
10 #include "webkit/fileapi/fileapi_export.h" | 10 #include "webkit/fileapi/fileapi_export.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 FilePath* local_file_path) OVERRIDE; | 56 FilePath* local_file_path) OVERRIDE; |
57 virtual base::PlatformFileError Touch( | 57 virtual base::PlatformFileError Touch( |
58 FileSystemOperationContext* context, | 58 FileSystemOperationContext* context, |
59 const FileSystemURL& url, | 59 const FileSystemURL& url, |
60 const base::Time& last_access_time, | 60 const base::Time& last_access_time, |
61 const base::Time& last_modified_time) OVERRIDE; | 61 const base::Time& last_modified_time) OVERRIDE; |
62 virtual base::PlatformFileError Truncate( | 62 virtual base::PlatformFileError Truncate( |
63 FileSystemOperationContext* context, | 63 FileSystemOperationContext* context, |
64 const FileSystemURL& url, | 64 const FileSystemURL& url, |
65 int64 length) OVERRIDE; | 65 int64 length) OVERRIDE; |
66 virtual bool PathExists( | |
67 FileSystemOperationContext* context, | |
68 const FileSystemURL& url) OVERRIDE; | |
69 virtual bool DirectoryExists( | |
70 FileSystemOperationContext* context, | |
71 const FileSystemURL& url) OVERRIDE; | |
72 virtual bool IsDirectoryEmpty( | 66 virtual bool IsDirectoryEmpty( |
73 FileSystemOperationContext* context, | 67 FileSystemOperationContext* context, |
74 const FileSystemURL& url) OVERRIDE; | 68 const FileSystemURL& url) OVERRIDE; |
75 virtual base::PlatformFileError CopyOrMoveFile( | 69 virtual base::PlatformFileError CopyOrMoveFile( |
76 FileSystemOperationContext* context, | 70 FileSystemOperationContext* context, |
77 const FileSystemURL& src_url, | 71 const FileSystemURL& src_url, |
78 const FileSystemURL& dest_url, | 72 const FileSystemURL& dest_url, |
79 bool copy) OVERRIDE; | 73 bool copy) OVERRIDE; |
80 virtual base::PlatformFileError CopyInForeignFile( | 74 virtual base::PlatformFileError CopyInForeignFile( |
81 FileSystemOperationContext* context, | 75 FileSystemOperationContext* context, |
(...skipping 15 matching lines...) Expand all Loading... |
97 private: | 91 private: |
98 // Profile path | 92 // Profile path |
99 const FilePath profile_path_; | 93 const FilePath profile_path_; |
100 | 94 |
101 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); | 95 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); |
102 }; | 96 }; |
103 | 97 |
104 } // namespace fileapi | 98 } // namespace fileapi |
105 | 99 |
106 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ | 100 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ |
OLD | NEW |