Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: webkit/api/public/WebKitClient.h

Issue 174232: Chromium side patch for DB support on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final version, including changes to the DEPS file. Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/os_unix.c ('k') | webkit/api/src/ChromiumBridge.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/public/WebKitClient.h
===================================================================
--- webkit/api/public/WebKitClient.h (revision 24791)
+++ webkit/api/public/WebKitClient.h (working copy)
@@ -122,11 +122,12 @@
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;
« no previous file with comments | « third_party/sqlite/src/os_unix.c ('k') | webkit/api/src/ChromiumBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698