diff options
Diffstat (limited to 'webkit/database/vfs_backend.h')
-rw-r--r-- | webkit/database/vfs_backend.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/webkit/database/vfs_backend.h b/webkit/database/vfs_backend.h index 267ce90..99effc8 100644 --- a/webkit/database/vfs_backend.h +++ b/webkit/database/vfs_backend.h @@ -15,15 +15,18 @@ namespace webkit_database { class VfsBackend { public: + static void GetFileHandleForProcess(base::ProcessHandle process_handle, + const base::PlatformFile& file_handle, + base::PlatformFile* target_handle, + bool close_source_handle); + static void OpenFile(const FilePath& file_path, int desired_flags, - base::ProcessHandle handle, - base::PlatformFile* target_handle); + base::PlatformFile* file_handle); static void OpenTempFileInDirectory(const FilePath& dir_path, int desired_flags, - base::ProcessHandle handle, - base::PlatformFile* target_handle); + base::PlatformFile* file_handle); static int DeleteFile(const FilePath& file_path, bool sync_dir); @@ -33,6 +36,7 @@ class VfsBackend { // Used to make decisions in the DatabaseDispatcherHost. static bool FileTypeIsMainDB(int desired_flags); + static bool FileTypeIsJournal(int desired_flags); static bool OpenTypeIsReadWrite(int desired_flags); private: |