| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 return WebString::fromUTF8(family.data()); | 215 return WebString::fromUTF8(family.data()); |
| 216 else | 216 else |
| 217 return WebString(); | 217 return WebString(); |
| 218 } | 218 } |
| 219 } | 219 } |
| 220 #endif | 220 #endif |
| 221 | 221 |
| 222 // HTML5 DB ------------------------------------------------------------------- | 222 // HTML5 DB ------------------------------------------------------------------- |
| 223 | 223 |
| 224 #if ENABLE(DATABASE) | 224 #if ENABLE(DATABASE) |
| 225 PlatformFileHandle ChromiumBridge::databaseOpenFile(const String& fileName, int desiredFlags) | 225 PlatformFileHandle ChromiumBridge::databaseOpenFile(const String& fileName, int desiredFlags, PlatformFileHandle* dirHandle) |
| 226 { | 226 { |
| 227 return webKitClient()->databaseOpenFile(WebString(fileName), desiredFlags); | 227 return webKitClient()->databaseOpenFile(WebString(fileName), desiredFlags, dirHandle); |
| 228 } | 228 } |
| 229 | 229 |
| 230 bool ChromiumBridge::databaseDeleteFile(const String& fileName) | 230 int ChromiumBridge::databaseDeleteFile(const String& fileName, bool syncDir) |
| 231 { | 231 { |
| 232 return webKitClient()->databaseDeleteFile(WebString(fileName)); | 232 return webKitClient()->databaseDeleteFile(WebString(fileName), syncDir); |
| 233 } | 233 } |
| 234 | 234 |
| 235 long ChromiumBridge::databaseGetFileAttributes(const String& fileName) | 235 long ChromiumBridge::databaseGetFileAttributes(const String& fileName) |
| 236 { | 236 { |
| 237 return webKitClient()->databaseGetFileAttributes(WebString(fileName)); | 237 return webKitClient()->databaseGetFileAttributes(WebString(fileName)); |
| 238 } | 238 } |
| 239 | 239 |
| 240 long long ChromiumBridge::databaseGetFileSize(const String& fileName) | 240 long long ChromiumBridge::databaseGetFileSize(const String& fileName) |
| 241 { | 241 { |
| 242 return webKitClient()->databaseGetFileSize(WebString(fileName)); | 242 return webKitClient()->databaseGetFileSize(WebString(fileName)); |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 | 502 |
| 503 return webKitClient()->visitedLinkHash(buffer.data(), buffer.length()); | 503 return webKitClient()->visitedLinkHash(buffer.data(), buffer.length()); |
| 504 } | 504 } |
| 505 | 505 |
| 506 bool ChromiumBridge::isLinkVisited(WebCore::LinkHash visitedLinkHash) | 506 bool ChromiumBridge::isLinkVisited(WebCore::LinkHash visitedLinkHash) |
| 507 { | 507 { |
| 508 return webKitClient()->isLinkVisited(visitedLinkHash); | 508 return webKitClient()->isLinkVisited(visitedLinkHash); |
| 509 } | 509 } |
| 510 | 510 |
| 511 } // namespace WebCore | 511 } // namespace WebCore |
| OLD | NEW |