Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: webkit/glue/webfileutilities_impl.cc

Issue 10453037: Deprecate FileUtilities::getFileSize and getFileModifiedTime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webfileutilities_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webfileutilities_impl.cc
diff --git a/webkit/glue/webfileutilities_impl.cc b/webkit/glue/webfileutilities_impl.cc
index 76dc1c2bfa4c000901d537148e3406063c0ae1a2..56b5944456d19f2f50cb66982e8ed68f561fcd80 100644
--- a/webkit/glue/webfileutilities_impl.cc
+++ b/webkit/glue/webfileutilities_impl.cc
@@ -40,29 +40,6 @@ bool WebFileUtilitiesImpl::deleteEmptyDirectory(const WebString& path) {
return false;
}
-bool WebFileUtilitiesImpl::getFileSize(const WebString& path,
- long long& result) {
- if (sandbox_enabled_) {
- NOTREACHED();
- return false;
- }
- return file_util::GetFileSize(WebStringToFilePath(path),
- reinterpret_cast<int64*>(&result));
-}
-
-bool WebFileUtilitiesImpl::getFileModificationTime(const WebString& path,
- double& result) {
- if (sandbox_enabled_) {
- NOTREACHED();
- return false;
- }
- base::PlatformFileInfo info;
- if (!file_util::GetFileInfo(WebStringToFilePath(path), &info))
- return false;
- result = info.last_modified.ToDoubleT();
- return true;
-}
-
bool WebFileUtilitiesImpl::getFileInfo(const WebString& path,
WebKit::WebFileInfo& web_file_info) {
if (sandbox_enabled_) {
« no previous file with comments | « webkit/glue/webfileutilities_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698