| Index: webkit/database/vfs_backend.h
|
| ===================================================================
|
| --- webkit/database/vfs_backend.h (revision 49482)
|
| +++ webkit/database/vfs_backend.h (working copy)
|
| @@ -15,15 +15,18 @@
|
|
|
| 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 @@
|
|
|
| // 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:
|
|
|