diff options
Diffstat (limited to 'webkit/database/vfs_backend.h')
-rw-r--r-- | webkit/database/vfs_backend.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/webkit/database/vfs_backend.h b/webkit/database/vfs_backend.h index 8fba3fa..0459958 100644 --- a/webkit/database/vfs_backend.h +++ b/webkit/database/vfs_backend.h @@ -10,25 +10,27 @@ #include "base/string16.h" #include "webkit/storage/webkit_storage_export.h" +namespace base { class FilePath; +} namespace webkit_database { class WEBKIT_STORAGE_EXPORT VfsBackend { public: - static void OpenFile(const FilePath& file_path, + static void OpenFile(const base::FilePath& file_path, int desired_flags, base::PlatformFile* file_handle); - static void OpenTempFileInDirectory(const FilePath& dir_path, + static void OpenTempFileInDirectory(const base::FilePath& dir_path, int desired_flags, base::PlatformFile* file_handle); - static int DeleteFile(const FilePath& file_path, bool sync_dir); + static int DeleteFile(const base::FilePath& file_path, bool sync_dir); - static uint32 GetFileAttributes(const FilePath& file_path); + static uint32 GetFileAttributes(const base::FilePath& file_path); - static int64 GetFileSize(const FilePath& file_path); + static int64 GetFileSize(const base::FilePath& file_path); // Used to make decisions in the DatabaseDispatcherHost. static bool OpenTypeIsReadWrite(int desired_flags); |