diff options
Diffstat (limited to 'webkit/api/src/ChromiumBridge.cpp')
-rw-r--r-- | webkit/api/src/ChromiumBridge.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/webkit/api/src/ChromiumBridge.cpp b/webkit/api/src/ChromiumBridge.cpp index 4d05a2e..f8d2e99 100644 --- a/webkit/api/src/ChromiumBridge.cpp +++ b/webkit/api/src/ChromiumBridge.cpp @@ -420,4 +420,37 @@ bool ChromiumBridge::isLinkVisited(WebCore::LinkHash visitedLinkHash) return webKitClient()->isLinkVisited(visitedLinkHash); } +// HTML5 DB ------------------------------------------------------------------- + +#if ENABLE(DATABASE) +PlatformFileHandle ChromiumBridge::databaseOpenFile(const String& fileName, + int desiredFlags) +{ + // FIXME: un-stub when the code on the browser process side is submitted + //return webKitClient()->databaseOpenFile(WebString(fileName), desiredFlags); + return invalidPlatformFileHandle; +} + +bool ChromiumBridge::databaseDeleteFile(const String& fileName) +{ + // FIXME: un-stub when the code on the browser process side is submitted + //return webKitClient()->databaseDeleteFile(WebString(fileName)); + return false; +} + +long ChromiumBridge::databaseGetFileAttributes(const String& fileName) +{ + // FIXME: un-stub when the code on the browser process side is submitted + //return webKitClient()->databaseGetFileAttributes(WebString(fileName)); + return 0L; +} + +long long ChromiumBridge::databaseGetFileSize(const String& fileName) +{ + // FIXME: un-stub when the code on the browser process side is submitted + //return webKitClient()->databaseGetFileSize(WebString(fileName)); + return 0LL; +} +#endif + } // namespace WebCore |