| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ | 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ |
| 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ | 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 FileSystemOperationContext* context, | 42 FileSystemOperationContext* context, |
| 43 const FilePath& file_path, | 43 const FilePath& file_path, |
| 44 int file_flags, | 44 int file_flags, |
| 45 PlatformFile* file_handle, | 45 PlatformFile* file_handle, |
| 46 bool* created); | 46 bool* created); |
| 47 | 47 |
| 48 virtual PlatformFileError EnsureFileExists( | 48 virtual PlatformFileError EnsureFileExists( |
| 49 FileSystemOperationContext* context, | 49 FileSystemOperationContext* context, |
| 50 const FilePath& file_path, bool* created); | 50 const FilePath& file_path, bool* created); |
| 51 | 51 |
| 52 virtual PlatformFileError GetLocalFilePath( |
| 53 FileSystemOperationContext* context, |
| 54 const FilePath& virtual_file, |
| 55 FilePath* local_path); |
| 56 |
| 52 virtual PlatformFileError GetFileInfo( | 57 virtual PlatformFileError GetFileInfo( |
| 53 FileSystemOperationContext* context, | 58 FileSystemOperationContext* context, |
| 54 const FilePath& file_, | 59 const FilePath& file, |
| 55 base::PlatformFileInfo* file_info, | 60 base::PlatformFileInfo* file_info, |
| 56 FilePath* platform_file); | 61 FilePath* platform_file); |
| 57 | 62 |
| 58 virtual PlatformFileError ReadDirectory( | 63 virtual PlatformFileError ReadDirectory( |
| 59 FileSystemOperationContext* context, | 64 FileSystemOperationContext* context, |
| 60 const FilePath& file_path, | 65 const FilePath& file_path, |
| 61 std::vector<base::FileUtilProxy::Entry>* entries); | 66 std::vector<base::FileUtilProxy::Entry>* entries); |
| 62 | 67 |
| 63 virtual PlatformFileError CreateDirectory( | 68 virtual PlatformFileError CreateDirectory( |
| 64 FileSystemOperationContext* context, | 69 FileSystemOperationContext* context, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 FileSystemOperationContext* context, | 110 FileSystemOperationContext* context, |
| 106 const GURL& origin_url, | 111 const GURL& origin_url, |
| 107 FileSystemType type, | 112 FileSystemType type, |
| 108 const FilePath& virtual_path); | 113 const FilePath& virtual_path); |
| 109 | 114 |
| 110 }; | 115 }; |
| 111 | 116 |
| 112 } // namespace fileapi | 117 } // namespace fileapi |
| 113 | 118 |
| 114 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ | 119 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ |
| OLD | NEW |