summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/sql/SQLiteDatabase.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/sql/SQLiteDatabase.h')
-rw-r--r--WebCore/platform/sql/SQLiteDatabase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/sql/SQLiteDatabase.h b/WebCore/platform/sql/SQLiteDatabase.h
index 76700dc..d313435 100644
--- a/WebCore/platform/sql/SQLiteDatabase.h
+++ b/WebCore/platform/sql/SQLiteDatabase.h
@@ -83,6 +83,9 @@ public:
int64_t maximumSize();
void setMaximumSize(int64_t);
+ // Gets the number of unused bytes in the database file.
+ int64_t freeSpaceSize();
+
// The SQLite SYNCHRONOUS pragma can be either FULL, NORMAL, or OFF
// FULL - Any writing calls to the DB block until the data is actually on the disk surface
// NORMAL - SQLite pauses at some critical moments when writing, but much less than FULL