| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "webkit/fileapi/isolated_file_util.h" | 9 #include "webkit/fileapi/isolated_file_util.h" |
| 10 #include "webkit/storage/webkit_storage_export.h" | 10 #include "webkit/storage/webkit_storage_export.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 bool recursive) OVERRIDE; | 34 bool recursive) OVERRIDE; |
| 35 virtual base::PlatformFileError Touch( | 35 virtual base::PlatformFileError Touch( |
| 36 FileSystemOperationContext* context, | 36 FileSystemOperationContext* context, |
| 37 const FileSystemURL& url, | 37 const FileSystemURL& url, |
| 38 const base::Time& last_access_time, | 38 const base::Time& last_access_time, |
| 39 const base::Time& last_modified_time) OVERRIDE; | 39 const base::Time& last_modified_time) OVERRIDE; |
| 40 virtual base::PlatformFileError Truncate( | 40 virtual base::PlatformFileError Truncate( |
| 41 FileSystemOperationContext* context, | 41 FileSystemOperationContext* context, |
| 42 const FileSystemURL& url, | 42 const FileSystemURL& url, |
| 43 int64 length) OVERRIDE; | 43 int64 length) OVERRIDE; |
| 44 virtual bool IsDirectoryEmpty( | |
| 45 FileSystemOperationContext* context, | |
| 46 const FileSystemURL& url) OVERRIDE; | |
| 47 virtual base::PlatformFileError CopyOrMoveFile( | 44 virtual base::PlatformFileError CopyOrMoveFile( |
| 48 FileSystemOperationContext* context, | 45 FileSystemOperationContext* context, |
| 49 const FileSystemURL& src_url, | 46 const FileSystemURL& src_url, |
| 50 const FileSystemURL& dest_url, | 47 const FileSystemURL& dest_url, |
| 51 bool copy) OVERRIDE; | 48 bool copy) OVERRIDE; |
| 52 virtual base::PlatformFileError CopyInForeignFile( | 49 virtual base::PlatformFileError CopyInForeignFile( |
| 53 FileSystemOperationContext* context, | 50 FileSystemOperationContext* context, |
| 54 const FilePath& src_file_path, | 51 const FilePath& src_file_path, |
| 55 const FileSystemURL& dest_url) OVERRIDE; | 52 const FileSystemURL& dest_url) OVERRIDE; |
| 56 virtual base::PlatformFileError DeleteFile( | 53 virtual base::PlatformFileError DeleteFile( |
| (...skipping 25 matching lines...) Expand all Loading... |
| 82 const FileSystemURL& file_system_url, | 79 const FileSystemURL& file_system_url, |
| 83 base::PlatformFileError failure_error, | 80 base::PlatformFileError failure_error, |
| 84 FilePath* local_file_path); | 81 FilePath* local_file_path); |
| 85 | 82 |
| 86 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); | 83 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); |
| 87 }; | 84 }; |
| 88 | 85 |
| 89 } // namespace fileapi | 86 } // namespace fileapi |
| 90 | 87 |
| 91 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ | 88 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ |
| OLD | NEW |