diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-30 15:10:53 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-30 15:10:53 +0000 |
commit | a4d6df640dd78a03b754187bbb4496cfd6c65627 (patch) | |
tree | 412601d2fbcdb6e718b6e2ea4de6eef11714b211 /content/worker | |
parent | db15b7ac5ef5cdddee1003219100a7388212b725 (diff) | |
download | chromium_src-a4d6df640dd78a03b754187bbb4496cfd6c65627.zip chromium_src-a4d6df640dd78a03b754187bbb4496cfd6c65627.tar.gz chromium_src-a4d6df640dd78a03b754187bbb4496cfd6c65627.tar.bz2 |
Deprecate FileUtilities::getFileSize and getFileModifiedTime
as they are no longer used in WebKit.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10453037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/worker')
-rw-r--r-- | content/worker/worker_webkitplatformsupport_impl.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc index 2f03da8..bebcd67 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) { |