diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-04 02:14:34 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-04 02:14:34 +0000 |
commit | a68a9839cea7ab81e46bba223e0a52e9e234eb9d (patch) | |
tree | 7a68f679deb46a7c30f22fdf8f9cedc48758f5a1 /webkit/api | |
parent | a5da6d613f41ecf35c027e8744dd6d3a41e4010c (diff) | |
download | chromium_src-a68a9839cea7ab81e46bba223e0a52e9e234eb9d.zip chromium_src-a68a9839cea7ab81e46bba223e0a52e9e234eb9d.tar.gz chromium_src-a68a9839cea7ab81e46bba223e0a52e9e234eb9d.tar.bz2 |
Roll the WebKit deps and add add stubs for the new functions in ChromiumBridge (as a result of the roll).
The bots were good up until my change and this is breaking them now, so I think I might just commit TBR.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/160564
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api')
-rw-r--r-- | webkit/api/src/ChromiumBridge.cpp | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/webkit/api/src/ChromiumBridge.cpp b/webkit/api/src/ChromiumBridge.cpp index 5f0461f..53e6487 100644 --- a/webkit/api/src/ChromiumBridge.cpp +++ b/webkit/api/src/ChromiumBridge.cpp @@ -150,9 +150,51 @@ void ChromiumBridge::prefetchDNS(const String& hostname) // File ------------------------------------------------------------------------ +bool ChromiumBridge::fileExists(const String& path) +{ + ASSERT_NOT_REACHED(); + return false; +} + +bool ChromiumBridge::deleteFile(const String& path) +{ + ASSERT_NOT_REACHED(); + return false; +} + +bool ChromiumBridge::deleteEmptyDirectory(const String& path) +{ + ASSERT_NOT_REACHED(); + return false; +} + bool ChromiumBridge::getFileSize(const String& path, long long& result) { - return webKitClient()->getFileSize(path, result); + return webKitClient()->getFileSize(path, result); +} + +bool ChromiumBridge::getFileModificationTime(const String& path, time_t& result) +{ + ASSERT_NOT_REACHED(); + return false; +} + +String ChromiumBridge::directoryName(const String& path) +{ + ASSERT_NOT_REACHED(); + return String(); +} + +String ChromiumBridge::pathByAppendingComponent(const String& path, const String& component) +{ + ASSERT_NOT_REACHED(); + return String(); +} + +bool ChromiumBridge::makeAllDirectories(const String& path) +{ + ASSERT_NOT_REACHED(); + return false; } // Font ----------------------------------------------------------------------- @@ -249,6 +291,13 @@ PassRefPtr<Image> ChromiumBridge::loadPlatformImageResource(const char* name) return image; } +// Sandbox -------------------------------------------------------------------- + +bool ChromiumBridge::sandboxEnabled() +{ + return true; +} + // SharedTimers --------------------------------------------------------------- void ChromiumBridge::setSharedTimerFiredFunction(void (*func)()) |