summaryrefslogtreecommitdiffstats
path: root/webkit/database/vfs_backend.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/database/vfs_backend.cc')
-rw-r--r--webkit/database/vfs_backend.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/webkit/database/vfs_backend.cc b/webkit/database/vfs_backend.cc
index 774180e..a73035d 100644
--- a/webkit/database/vfs_backend.cc
+++ b/webkit/database/vfs_backend.cc
@@ -14,20 +14,6 @@ namespace webkit_database {
static const int kFileTypeMask = 0x00007F00;
// static
-bool VfsBackend::FileTypeIsMainDB(int desired_flags) {
- return (desired_flags & kFileTypeMask) == SQLITE_OPEN_MAIN_DB;
-}
-
-// static
-bool VfsBackend::FileTypeIsJournal(int desired_flags) {
- int file_type = desired_flags & kFileTypeMask;
- return ((file_type == SQLITE_OPEN_MAIN_JOURNAL) ||
- (file_type == SQLITE_OPEN_TEMP_JOURNAL) ||
- (file_type == SQLITE_OPEN_SUBJOURNAL) ||
- (file_type == SQLITE_OPEN_MASTER_JOURNAL));
-}
-
-// static
bool VfsBackend::OpenTypeIsReadWrite(int desired_flags) {
return (desired_flags & SQLITE_OPEN_READWRITE) != 0;
}