summaryrefslogtreecommitdiffstats
path: root/webkit/database/vfs_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/database/vfs_backend.h')
-rw-r--r--webkit/database/vfs_backend.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/webkit/database/vfs_backend.h b/webkit/database/vfs_backend.h
index 44de808..97ce7e0 100644
--- a/webkit/database/vfs_backend.h
+++ b/webkit/database/vfs_backend.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -20,6 +20,7 @@ class VfsBackend {
base::ProcessHandle handle,
base::PlatformFile* target_handle,
base::PlatformFile* target_dir_handle);
+
static void OpenTempFileInDirectory(const FilePath& dir_path,
int desired_flags,
base::ProcessHandle handle,
@@ -32,6 +33,10 @@ class VfsBackend {
static int64 GetFileSize(const FilePath& file_path);
+ // Used to make decisions in the DatabaseDispatcherHost.
+ static bool FileTypeIsMainDB(int desired_flags);
+ static bool OpenTypeIsReadWrite(int desired_flags);
+
private:
static bool OpenFileFlagsAreConsistent(int desired_flags);
};