diff options
Diffstat (limited to 'webkit/api/public/WebKitClient.h')
-rw-r--r-- | webkit/api/public/WebKitClient.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/api/public/WebKitClient.h b/webkit/api/public/WebKitClient.h index 9ecf0c3..4ff33b3 100644 --- a/webkit/api/public/WebKitClient.h +++ b/webkit/api/public/WebKitClient.h @@ -122,11 +122,12 @@ namespace WebKit { typedef int FileType; #endif - // Opens a database file - virtual FileType databaseOpenFile(const WebString& fileName, int desiredFlags) = 0; + // Opens a database file; dirHandle should be NULL if the caller does not need + // a handle to the directory containing this file + virtual FileType databaseOpenFile(const WebString& fileName, int desiredFlags, FileType* dirHandle) = 0; // Deletes a database file and returns the error code - virtual bool databaseDeleteFile(const WebString& fileName) = 0; + virtual int databaseDeleteFile(const WebString& fileName, bool syncDir) = 0; // Returns the attributes of the given database file virtual long databaseGetFileAttributes(const WebString& fileName) = 0; |