| Index: content/worker/worker_webkitplatformsupport_impl.cc
|
| diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc
|
| index 2f03da85c172a1310c989812f0c9cc76caf5cd77..bebcd6749336c86df301542372e1cde9e1646c54 100644
|
| --- a/content/worker/worker_webkitplatformsupport_impl.cc
|
| +++ b/content/worker/worker_webkitplatformsupport_impl.cc
|
| @@ -43,9 +43,6 @@ using WebKit::WebURL;
|
| class WorkerWebKitPlatformSupportImpl::FileUtilities
|
| : public webkit_glue::WebFileUtilitiesImpl {
|
| public:
|
| - virtual bool getFileSize(const WebKit::WebString& path, long long& result);
|
| - virtual bool getFileModificationTime(const WebKit::WebString& path,
|
| - double& result);
|
| virtual bool getFileInfo(const WebString& path, WebFileInfo& result);
|
| };
|
|
|
| @@ -59,32 +56,6 @@ static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg) {
|
| return sync_msg_filter->Send(msg);
|
| }
|
|
|
| -bool WorkerWebKitPlatformSupportImpl::FileUtilities::getFileSize(
|
| - const WebString& path, long long& result) {
|
| - if (SendSyncMessageFromAnyThread(new FileUtilitiesMsg_GetFileSize(
|
| - webkit_glue::WebStringToFilePath(path),
|
| - reinterpret_cast<int64*>(&result)))) {
|
| - return result >= 0;
|
| - }
|
| -
|
| - result = -1;
|
| - return false;
|
| -}
|
| -
|
| -bool WorkerWebKitPlatformSupportImpl::FileUtilities::getFileModificationTime(
|
| - const WebString& path,
|
| - double& result) {
|
| - base::Time time;
|
| - if (SendSyncMessageFromAnyThread(new FileUtilitiesMsg_GetFileModificationTime(
|
| - webkit_glue::WebStringToFilePath(path), &time))) {
|
| - result = time.ToDoubleT();
|
| - return !time.is_null();
|
| - }
|
| -
|
| - result = 0;
|
| - return false;
|
| -}
|
| -
|
| bool WorkerWebKitPlatformSupportImpl::FileUtilities::getFileInfo(
|
| const WebString& path,
|
| WebFileInfo& web_file_info) {
|
|
|