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

Unified Diff: content/browser/renderer_host/file_utilities_message_filter.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
Index: content/browser/renderer_host/file_utilities_message_filter.cc
diff --git a/content/browser/renderer_host/file_utilities_message_filter.cc b/content/browser/renderer_host/file_utilities_message_filter.cc
index 5daa6ff2217bfb15b99beff0ee61bc44d5740685..85edc34ac7b183c8c0637e5b514106643e6218bb 100644
--- a/content/browser/renderer_host/file_utilities_message_filter.cc
+++ b/content/browser/renderer_host/file_utilities_message_filter.cc
@@ -48,7 +48,8 @@ void FileUtilitiesMessageFilter::OnGetFileInfo(
return;
}
- if (!base::GetFileInfo(path, result))
+ // TODO(rvargas): convert this code to use base::File.
+ if (!base::GetFileInfo(path, reinterpret_cast<base::File::Info*>(result)))
*status = base::PLATFORM_FILE_ERROR_FAILED;
}

Powered by Google App Engine
This is Rietveld 408576698