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

Unified Diff: webkit/glue/webfileutilities_impl.cc

Issue 101143006: Convert base::file_util to use File instead of PlatformFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base:: Created 6 years, 11 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/browser/fileapi/sandbox_directory_database.cc ('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 c7f4c7c40bbe88ac29a255afde158b3d8eaae751..6e70ff5c2731497110e04de01cb97f266b5c6de1 100644
--- a/webkit/glue/webfileutilities_impl.cc
+++ b/webkit/glue/webfileutilities_impl.cc
@@ -31,8 +31,10 @@ bool WebFileUtilitiesImpl::getFileInfo(const WebString& path,
NOTREACHED();
return false;
}
+ // TODO(rvargas): convert this code to use base::File::Info.
base::PlatformFileInfo file_info;
- if (!base::GetFileInfo(base::FilePath::FromUTF16Unsafe(path), &file_info))
+ if (!base::GetFileInfo(base::FilePath::FromUTF16Unsafe(path),
+ reinterpret_cast<base::File::Info*>(&file_info)))
return false;
webkit_glue::PlatformFileInfoToWebFileInfo(file_info, &web_file_info);
« no previous file with comments | « webkit/browser/fileapi/sandbox_directory_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698